dotfiles: yet another update

This commit is contained in:
Konstantin Bukley
2020-03-26 10:54:09 +02:00
parent e8072101a6
commit 96f652a7d5
6 changed files with 93 additions and 50 deletions

View File

@@ -44,13 +44,11 @@ bind Escape copy-mode
setw -g mode-keys vi
bind-key Space run-shell "tmux list-sessions -F \"##S\" | fzf-tmux | xargs tmux switch -t"
unbind-key -T copy-mode-vi v
bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode.
bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode.
bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode.
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy" # Yank selection in copy mode.
bind-key -T copy-mode-vi 'K' send -X halfpage-up
bind-key -T copy-mode-vi 'J' send -X halfpage-down