From 3f579a079c96541b0258c8a46f439d5e50072cd7 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 9 Jul 2022 21:39:31 +0200 Subject: Add keybinding for resizing tmux --- .tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index bedcb8c..7e93ea6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -17,5 +17,11 @@ bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel bind-key -n C-k clear-history +# Resizing panes +bind-key -r h resize-pane -L 5 +bind-key -r j resize-pane -D 5 +bind-key -r k resize-pane -U 5 +bind-key -r l resize-pane -R 5 + # Load OSX specific configurations to add (fix copy) if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf' -- cgit v1.2.3