summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-08-02 10:02:09 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-08-02 10:02:09 +0200
commitf2af8d948cc283eb6da1e725ecb8fcff84eb7e92 (patch)
treed6690b289c3628d72320f27e223fdfe65cc34963
parent0ed5bc6917eba01352d29c0ff009c5412d3f5ae5 (diff)
downloaddotfiles-f2af8d948cc283eb6da1e725ecb8fcff84eb7e92.tar.gz
dotfiles-f2af8d948cc283eb6da1e725ecb8fcff84eb7e92.zip
tmux.conf added new shortcuts for resizing splits
-rw-r--r--tmux.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index 8498f75..b8a02f1 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -38,6 +38,12 @@ bind-key j select-pane -D
bind-key h select-pane -L
bind-key l select-pane -R
+# resize splits
+bind-key -r C-k resize-pane -U
+bind-key -r C-j resize-pane -D
+bind-key -r C-h resize-pane -L
+bind-key -r C-l resize-pane -R
+
# Copy mode settings
set-window-option -g mode-keys vi
if-shell "if [ $(echo \"$(tmux -V | awk '{print $2}') < 2.4\" | bc) -eq 1 ]; then true; else false; fi" \