diff options
Diffstat (limited to '%HOME%/.tmux.conf')
-rw-r--r-- | %HOME%/.tmux.conf | 9 |
1 files changed, 2 insertions, 7 deletions
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' } |