aboutsummaryrefslogtreecommitdiff
path: root/tmux.config
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-01-04 22:07:52 +0000
committerCody Hiar <codyfh@gmail.com>2017-01-04 22:07:52 +0000
commit3ae14c61c5064c1f3d2d1b84e8f9ee84199152e2 (patch)
tree65830414339ae85bf3d7083235a988409c134716 /tmux.config
parent037be189ec10d81dbbfa893b7965132b2d6cc886 (diff)
Re-binding some keys so that switching panes is much quicker
Diffstat (limited to 'tmux.config')
-rw-r--r--tmux.config19
1 files 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