diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-10 17:12:57 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-10 17:12:57 -0500 |
commit | 3499152841e851e26562164de5ec9d71081583c3 (patch) | |
tree | 93c993803a8f2b5c483ebcffa878059f33e2bfec /tmux.conf | |
parent | 26ccecfd2f8b00cc03a16145de7d83514dfc99a8 (diff) | |
download | conf-3499152841e851e26562164de5ec9d71081583c3.tar.gz conf-3499152841e851e26562164de5ec9d71081583c3.zip |
simplify tmux-clipboard a bunch
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -42,11 +42,8 @@ bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi ) send-keys -X start-of-line bind -T copy-mode-vi _ send-keys -X back-to-indentation -bind -T copy-mode-vi y run "tmux send-keys -X copy-selection-and-cancel; tmux-clipboard copy primary" -bind -T copy-mode-vi ^C run "tmux send-keys -X copy-selection-and-cancel; tmux-clipboard copy clipboard" -bind y run "tmux-clipboard copy primary" -bind ^C run "tmux-clipboard copy clipboard" -bind IC run "tmux-clipboard paste primary" +bind -T copy-mode-vi y run "tmux send-keys -X copy-selection-and-cancel; tmux run -b 'tmux-clipboard copy primary'" +bind -T copy-mode-vi ^C run "tmux send-keys -X copy-selection-and-cancel; tmux run -b 'tmux-clipboard copy clipboard'" bind ^V run "tmux-clipboard paste clipboard" unbind ^B |