re-enable copy mode bindings

This commit is contained in:
John Bowdre 2022-05-25 08:37:41 -05:00
parent b19380f125
commit c5e840f650

View file

@ -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