backup script
[dotfiles.git] / shell / .config / tmux / config
index 7bf6ba8..127a0ed 100644 (file)
@@ -17,3 +17,9 @@ bind H split-window -h
 
 # Start not at index 0 but at one for windows
 set -g base-index 1
+
+# vi copy and pasting
+bind-key -T copy-mode-vi 'v' send -X begin-selection
+bind-key -T copy-mode-vi 'y' send -X copy-selection
+bind-key -T copy-mode-vi 'Space' send -X halfpage-down
+bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up