]> git.armaanb.net Git - config.org.git/commitdiff
tmux: improve keybindings
authorArmaan Bhojwani <me@armaanb.net>
Thu, 20 May 2021 01:45:31 +0000 (21:45 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 20 May 2021 01:45:31 +0000 (21:45 -0400)
config.org

index 3ca50d0b5946fa7f1d06cacd52e9d23b8dd18116..e7b40bc9393e14d976dbc44eb2482cb62e3c4510 100644 (file)
@@ -1271,6 +1271,8 @@ Modus operandi theme.
   set -g status off
   set -g mouse on
   set-window-option -g mode-keys vi
+  bind-key -T copy-mode-vi 'v' send -X begin-selection
+  bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
 #+end_src
 ** GPG
 *** Config