dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8dff08ec640f52dfee0ffce0c412806e3f764895
parent 940cb77f7717ab4a888a475f4a04038f237fdb67
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon, 23 Nov 2015 16:20:00 +0100

add traditional pane navigation for nested tmux sessions

Diffstat:
M.tmux.conf | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -30,6 +30,12 @@ bind -r J resize-pane -D 5 bind -r H resize-pane -L 5 bind -r L resize-pane -R 5 +# traditional navigation +bind -r h select-pane -L +bind -r j select-pane -D +bind -r k select-pane -U +bind -r l select-pane -R + # Smart pane switching with awareness of vim splits #is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"' #bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"