From: Samir Benmendil Date: Wed, 1 Feb 2023 00:17:34 +0000 (+0000) Subject: tmux: remove clipboard bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/d053c84ae5bb655ae2c32562d7f10b29298e1276 tmux: remove clipboard bindings 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. --- diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 48a77bf..4e4a71e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -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 -# 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