diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-06-07 21:00:19 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-06-07 21:00:19 +0200 |
commit | 33eff017d3aec619bd4837dce6c0ad4f3fb951fb (patch) | |
tree | cac70dea0e2832d177ffc7de1aa9f8fd406372c1 /%HOME% | |
parent | ssh: add GitLab settings (diff) | |
download | linux-home-33eff017d3aec619bd4837dce6c0ad4f3fb951fb.tar.gz linux-home-33eff017d3aec619bd4837dce6c0ad4f3fb951fb.zip |
tmux: fix config for 3.3
Diffstat (limited to '')
-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' } |