From 33eff017d3aec619bd4837dce6c0ad4f3fb951fb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 7 Jun 2022 21:00:19 +0200 Subject: tmux: fix config for 3.3 --- %HOME%/.tmux.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '%HOME%') diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf index 4c8f677..7b91706 100644 --- a/%HOME%/.tmux.conf +++ b/%HOME%/.tmux.conf @@ -112,9 +112,7 @@ if-shell 'uname | grep -q -F CYGWIN' { bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard' bind-key -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel 'tmux paste-buffer' bind-key -T copy-mode-vi M-y send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard; tmux paste-buffer' - bind-key -T copy-mode-vi '!' send-keys -X copy-pipe-and-cancel { - tr -d '\n' > /dev/clipboard - } + bind-key -T copy-mode-vi '!' send-keys -X copy-pipe-and-cancel "tr -d '\n' > /dev/clipboard" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard' bind-key -T root MouseDown2Pane run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer' @@ -131,12 +129,9 @@ if-shell 'uname | grep -q -F Linux && which xsel' { bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b' bind-key -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel 'tmux paste-buffer' bind-key -T copy-mode-vi M-y send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b; tmux paste-buffer' - bind-key -T copy-mode-vi '!' send-keys -X copy-pipe-and-cancel { - tr -d '\n' | xsel -i -p && xsel -o -p | xsel -i -b - } + bind-key -T copy-mode-vi '!' send-keys -X copy-pipe-and-cancel "tr -d '\n' | xsel -i -p && xsel -o -p | xsel -i -b" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b' bind-key -T root MouseDown2Pane run 'xsel -o | tmux load-buffer - && tmux paste-buffer' - bind-key ] run 'xsel -o | tmux load-buffer - && tmux paste-buffer' } -- cgit v1.2.3