Add cancel to leave copy mode after making a copy
This commit is contained in:
parent
9b8adea3df
commit
696756bb8d
|
@ -93,7 +93,7 @@ set -sg escape-time 0
|
||||||
bind-key -T copy-mode-vi Home send -X start-of-line
|
bind-key -T copy-mode-vi Home send -X start-of-line
|
||||||
bind-key -T copy-mode-vi End send -X end-of-line
|
bind-key -T copy-mode-vi End send -X end-of-line
|
||||||
# Sync copy mode and PRIMARY selection
|
# Sync copy mode and PRIMARY selection
|
||||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe "xsel -i -p -b"
|
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "xsel -i -p -b"
|
||||||
bind-key -T copy-mode-vi Enter send -X copy-pipe "xsel -i -p -b"
|
bind-key -T copy-mode-vi Enter send -X copy-pipe-and-cancel "xsel -i -p -b"
|
||||||
bind-key -T copy-mode-vi y send -X copy-pipe "xsel -i -p -b"
|
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel "xsel -i -p -b"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue