From cb4ded9fcb7c8605825501245ac33d8dfcc405c3 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Fri, 26 May 2017 13:48:53 +0200 Subject: [PATCH] moved buffer bindings to a dedicated section --- .tmux.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index f8490d3..a29b891 100644 --- a/.tmux.conf +++ b/.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'