Skip to content

Commit

Permalink
update tmux copy bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
randName committed Apr 4, 2020
1 parent 3049998 commit 9df031e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ bind -n C-j if "$is_vim" 'send-keys C-j' 'select-pane -D'
bind -n C-k if "$is_vim" 'send-keys C-k' 'select-pane -U'
bind -n C-l if "$is_vim" 'send-keys C-l' 'select-pane -R'

# TODO: needs update for tmux v2.4
bind -t vi-copy Escape cancel
bind -t vi-copy y copy-selection
bind -t vi-copy v begin-selection
bind -t vi-copy q clear-selection
bind -t vi-copy C-v rectangle-toggle
bind -T copy-mode-vi Escape send -X cancel
bind -T copy-mode-vi y send -X copy-selection
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi q send -X clear-selection
bind -T copy-mode-vi C-v send -X rectangle-toggle

# mouse
set -g mouse on
Expand Down

0 comments on commit 9df031e

Please sign in to comment.