Tmux, change copy command
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
|
||||
# Setup 'v' to begin selection as in Vim and 'y' to yank
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
|
||||
bind-key -T copy-mode-vi 'Escape' send -X cancel
|
||||
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
|
||||
#+END_SRC
|
||||
|
Reference in New Issue
Block a user