diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index bd29950..07155ee 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -24,10 +24,10 @@ set -sg repeat-time 600 # Copy Mode (Prefix+[) set-window-option -g mode-keys vi # Vim keys to navigate (Ctrl+u, Ctrl+d, /) -# unbind -T copy-mode-vi Space; # Begin-selection -# unbind -T copy-mode-vi Enter; # Copy-selection -# bind -T copy-mode-vi v send-keys -X begin-selection # select text with 'v' -# bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel --clipboard" # copy text with 'y' +unbind -T copy-mode-vi Space; # Begin-selection +unbind -T copy-mode-vi Enter; # Copy-selection +bind -T copy-mode-vi v send-keys -X begin-selection # select text with 'v' +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel --clipboard" # copy text with 'y' ## Vim integrations # Smart pane switching with awareness of Vim splits