Added tmux copy to xclip from vi selection

This commit is contained in:
Wryn Wagner 2020-04-02 12:38:50 -06:00
parent 318e7345a8
commit 919c068722
2 changed files with 2 additions and 0 deletions

1
tmux/t-bindings.tmux Normal file
View File

@ -0,0 +1 @@
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip'

View File

@ -1,4 +1,5 @@
source-file ~/.wryn/tmux/n-bindings.tmux
source-file ~/.wryn/tmux/t-bindings.tmux
# don't use escape key
set -s escape-time 0