From 3ae14c61c5064c1f3d2d1b84e8f9ee84199152e2 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 4 Jan 2017 22:07:52 +0000 Subject: Re-binding some keys so that switching panes is much quicker --- tmux.config | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tmux.config b/tmux.config index b3637f6..328a756 100644 --- a/tmux.config +++ b/tmux.config @@ -3,22 +3,25 @@ ##################################### # Vim movements -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R +bind C-h select-pane -L +bind C-j select-pane -D +bind C-k select-pane -U +bind C-l select-pane -R # Kill without prompting bind x kill-pane bind & kill-window # Easy resizing of the pane -bind C-j resize-pane -D 3 -bind C-k resize-pane -U 3 -bind C-h resize-pane -L 3 -bind C-l resize-pane -R 3 +bind j resize-pane -D 3 +bind k resize-pane -U 3 +bind h resize-pane -L 3 +bind l resize-pane -R 3 # Bind the last window command bind C-b last-window # Bind the last session command bind C-s switch-client -l +# Faster window switching +bind C-n next-window +bind C-p previous-window # Synchronize mode, how the fuck did I not know about this bind a set-window-option synchronize-panes -- cgit v1.2.3