term: Added tmux config

This commit is contained in:
GaspardCulis 2024-06-01 03:12:19 +02:00
parent 51ad0b920c
commit 07b4a81141
No known key found for this signature in database
GPG key ID: BC18146756955609
4 changed files with 23 additions and 0 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "Ahurac-dotfiles"] [submodule "Ahurac-dotfiles"]
path = Ahurac-dotfiles path = Ahurac-dotfiles
url = https://gitea.ahur.ac/ahurac/dotfiles.git url = https://gitea.ahur.ac/ahurac/dotfiles.git
[submodule "term/tmux/plugins/tpm"]
path = term/tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm

1
sync
View file

@ -49,6 +49,7 @@ synced_files = [
("shell/nu/.nu_aliases", "~/.nu_aliases"), ("shell/nu/.nu_aliases", "~/.nu_aliases"),
("term/rio/", "~/.config/rio/"), ("term/rio/", "~/.config/rio/"),
("term/alacritty/", "~/.config/alacritty/"), ("term/alacritty/", "~/.config/alacritty/"),
("term/tmux/tmux.conf", "~/.config/tmux/tmux.conf"),
("bar/waybar/", "~/.config/waybar/"), ("bar/waybar/", "~/.config/waybar/"),
("bar/i3status-rust/", "~/.config/i3status-rust/"), ("bar/i3status-rust/", "~/.config/i3status-rust/"),
("bar/eww/", "~/.config/eww/"), ("bar/eww/", "~/.config/eww/"),

1
term/tmux/plugins/tpm Submodule

@ -0,0 +1 @@
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946

18
term/tmux/tmux.conf Normal file
View file

@ -0,0 +1,18 @@
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
# Windows and panes start at 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind s split-window -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
run '~/.config/tmux/plugins/tpm/tpm'