summaryrefslogtreecommitdiff
path: root/dots/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'dots/tmux')
-rw-r--r--dots/tmux/.config/tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/dots/tmux/.config/tmux/tmux.conf b/dots/tmux/.config/tmux/tmux.conf
index ec28d4e..7a1fab5 100644
--- a/dots/tmux/.config/tmux/tmux.conf
+++ b/dots/tmux/.config/tmux/tmux.conf
@@ -1,6 +1,10 @@
#-- <keybinds> --
set -g prefix C-s
+
set -g mode-keys vi
+bind-key -T copy-mode-vi 'v' send -X begin-selection
+bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle
+bind-key -T copy-mode-vi 'y' send -X copy-selection
unbind r
bind r source-file ~/.config/tmux/tmux.conf