From d52f465d5dad336179449c2c14f97efca39f5fd3 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 27 Jun 2017 22:51:34 +0200 Subject: [PATCH] Load new bind-key in bepo keyboard. --- tmux.conf | 4 ++++ tmux.conf.bepo | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tmux.conf.bepo diff --git a/tmux.conf b/tmux.conf index e7056ee..1aff6e8 100644 --- a/tmux.conf +++ b/tmux.conf @@ -247,3 +247,7 @@ bind H source-file ~/.tmux/splitHP\; display-message "tmux split for HP" if '[ -z "${SSH_TTY}" ]' 'source-file $HOME/.tmux/tmux.conf.local' ### }}} + +### bepo {{{ +if 'setxkbmap -print|grep bepo' 'source-file $HOME/.tmux/tmux.conf.bepo' +### }}} diff --git a/tmux.conf.bepo b/tmux.conf.bepo new file mode 100644 index 0000000..39b4cef --- /dev/null +++ b/tmux.conf.bepo @@ -0,0 +1,11 @@ +# Rebinding some vi-copy keys in a more bepoish fashion. +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'C' send -X top-line +bind-key -T copy-mode-vi 'T' send -X scroll-down +bind-key -T copy-mode-vi 'S' send -X scroll-up +bind-key -T copy-mode-vi 'R' send -X bottom-line +bind-key -T copy-mode-vi 'c' send -X cursor-left +bind-key -T copy-mode-vi 't' send -X cursor-down +bind-key -T copy-mode-vi 's' send -X cursor-up +bind-key -T copy-mode-vi 'r' send -X cursor-right +