Update .tmux.conf
This commit is contained in:
parent
3649e8b7a8
commit
f9cd9bb0cd
|
@ -24,7 +24,8 @@ bind -r m resize-pane -Z
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
|
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
|
||||||
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
|
#bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
|
||||||
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||||
|
|
||||||
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode after dragging with mouse
|
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode after dragging with mouse
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue