|
@ -51,6 +51,16 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection |
|
|
|
|
|
|
|
|
bind 'V' copy-mode |
|
|
bind 'V' copy-mode |
|
|
|
|
|
|
|
|
|
|
|
# Enable clipboard integration |
|
|
|
|
|
set-option -g set-clipboard on |
|
|
|
|
|
|
|
|
|
|
|
# Use xclip for copying text in copy mode |
|
|
|
|
|
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -in" |
|
|
|
|
|
bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -in" |
|
|
|
|
|
|
|
|
|
|
|
# Shortcut for manual copying outside of copy mode |
|
|
|
|
|
bind-key C-c run-shell "tmux save-buffer - | xclip -selection clipboard -in" |
|
|
|
|
|
|
|
|
# Enable mouse control (clickable windows, panes, resizable panes) |
|
|
# Enable mouse control (clickable windows, panes, resizable panes) |
|
|
set -g mouse on |
|
|
set -g mouse on |
|
|
|
|
|
|
|
|