aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-06-07 21:00:19 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-06-07 21:00:19 +0200
commit33eff017d3aec619bd4837dce6c0ad4f3fb951fb (patch)
treecac70dea0e2832d177ffc7de1aa9f8fd406372c1
parentssh: add GitLab settings (diff)
downloadlinux-home-33eff017d3aec619bd4837dce6c0ad4f3fb951fb.tar.gz
linux-home-33eff017d3aec619bd4837dce6c0ad4f3fb951fb.zip
tmux: fix config for 3.3
-rw-r--r--%HOME%/.tmux.conf9
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'
}