diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index e01fddbe..d38759eb 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -67,6 +67,10 @@ set-window-option -g automatic-rename # Vi copypaste mode set-window-option -g mode-keys vi +bind-key -n g copy-mode +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 MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel # highlight color set -g mode-style "fg=black,bg=color167"