From c5e840f65094a4780663e556df9efb25debee75f Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 25 May 2022 08:37:41 -0500 Subject: [PATCH] re-enable copy mode bindings --- tmux/.tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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