moved buffer bindings to a dedicated section
This commit is contained in:
parent
ba6fe0a985
commit
cb4ded9fcb
1 changed files with 7 additions and 3 deletions
10
.tmux.conf
10
.tmux.conf
|
@ -124,9 +124,6 @@ run -b 'tmux bind -ct vi-edit Escape cancel 2> /dev/null || true'
|
|||
# -- copy mode -----------------------------------------------------------------
|
||||
|
||||
bind Enter copy-mode # enter copy mode
|
||||
bind b list-buffers # list paster buffers
|
||||
bind p paste-buffer # paste from the top pate buffer
|
||||
bind P choose-buffer # choose which buffer to paste from
|
||||
|
||||
run -b 'tmux bind -t vi-copy v begin-selection 2> /dev/null || true'
|
||||
run -b 'tmux bind -T copy-mode-vi v send -X begin-selection 2> /dev/null || true'
|
||||
|
@ -149,6 +146,13 @@ if -b 'command -v clip.exe > /dev/null 2>&1' 'bind y run -b "tmux save-buffer -
|
|||
if -b '[ -c /dev/clipboard ]' 'bind y run -b "tmux save-buffer - > /dev/clipboard"'
|
||||
|
||||
|
||||
# -- buffers -------------------------------------------------------------------
|
||||
|
||||
bind b list-buffers # list paste buffers
|
||||
bind p paste-buffer # paste from the top paste buffer
|
||||
bind P choose-buffer # choose which buffer to paste from
|
||||
|
||||
|
||||
# -- user defined overrides ----------------------------------------------------
|
||||
|
||||
if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'
|
||||
|
|
Loading…
Reference in a new issue