Add proper copy/paste to tmux
This commit is contained in:
@@ -67,10 +67,10 @@ set-window-option -g automatic-rename
|
|||||||
|
|
||||||
# Vi copypaste mode
|
# Vi copypaste mode
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
bind-key -n g copy-mode
|
bind g copy-mode
|
||||||
bind -T copy-mode-vi v send -X begin-selection
|
bind -T copy-mode-vi v send -X begin-selection
|
||||||
bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
|
bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
|
||||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel
|
bind P paste-buffer
|
||||||
|
|
||||||
# highlight color
|
# highlight color
|
||||||
set -g mode-style "fg=black,bg=color167"
|
set -g mode-style "fg=black,bg=color167"
|
||||||
|
|||||||
Reference in New Issue
Block a user