]> git.rmz.io Git - dotfiles.git/commitdiff
tmux: remove clipboard bindings
authorSamir Benmendil <me@rmz.io>
Wed, 1 Feb 2023 00:17:34 +0000 (00:17 +0000)
committerSamir Benmendil <me@rmz.io>
Wed, 1 Feb 2023 00:17:34 +0000 (00:17 +0000)
They were occasionally hanging the whole session, probably because
nothing was coming in through stdin.

More annoyingly, they were trigger inadvertedly when trying to switch
tabs.

tmux/tmux.conf

index 48a77bfcfbe083e5f927aa2d507b68eaff9e0902..4e4a71ea197d82e0add24be8ffbb4ffdf11457c5 100644 (file)
@@ -14,10 +14,6 @@ bind-key -T copy-mode-vi 'y'      send-keys -X copy-selection
 bind-key -T copy-mode-vi 'Space'  send-keys -X halfpage-down
 bind-key -T copy-mode-vi 'Bspace' send-keys -X halfpage-up
 
 bind-key -T copy-mode-vi 'Space'  send-keys -X halfpage-down
 bind-key -T copy-mode-vi 'Bspace' send-keys -X halfpage-up
 
-# extra commands for interacting with the ICCCM clipboard
-bind-key C-c run "tmux save-buffer - | xclip -i -sel clipboard"
-bind-key C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
-
 # easy-to-remember split pane commands
 bind-key | split-window -h
 bind-key - split-window -v
 # easy-to-remember split pane commands
 bind-key | split-window -h
 bind-key - split-window -v