diff options
author | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-02 17:57:00 +0400 |
---|---|---|
committer | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-02 17:57:00 +0400 |
commit | aa8c3484100b2b7e84a7aa8c7e416dde484b25ee (patch) | |
tree | 15972dbf45c72a7abf587a329fc8f8d01ff16b88 | |
parent | 70091f72f7e1bf228da856f27ae46ec63321ac53 (diff) |
add tmux config
-rw-r--r-- | .tmux.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..7fc17c0 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,32 @@ +set -g default-terminal "screen-256color" + +unbind r +bind r source-file ~/.tmux.conf + +unbind C-b +set -g prefix C-a +bind-key C-a send-prefix + +unbind % +bind | split-window -h + +unbind '"' +bind - split-window -v + +bind -r j resize-pane -D 5 +bind -r k resize-pane -U 5 +bind -r l resize-pane -R 5 +bind -r h resize-pane -L 5 + +bind -r m resize-pane -Z + +set-window-option -g mode-keys vi + +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' + +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection + + + |