commit 18d293eb8a49030546f9275fb6631f077e0447c3 parent 645dac869fb8b283e3e60dd59ff763ef67db0242 Author: MichaĆ M. Sapka <michal@sapka.me> Date: Wed, 7 Sep 2022 16:49:39 +0200 feat(tmux): use arrows to resize panes Diffstat:
M | tmux/.tmux.conf | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -14,11 +14,12 @@ bind -r l select-pane -R bind-key -n C-S-Left swap-window -t -1 \; previous-window bind-key -n C-S-Right swap-window -t +1 \; next-window -# Resizing pane -bind -r C-k resize-pane -U 5 -bind -r C-j resize-pane -D 5 -bind -r C-h resize-pane -L 5 -bind -r C-l resize-pane -R 5 +# Resizing panes +# C+h/j/kl are remapped to arrows +bind -r Up resize-pane -U 5 +bind -r Down resize-pane -D 5 +bind -r Left resize-pane -L 5 +bind -r Right resize-pane -R 5 # Start windows and panes at 1, not 0 set -g base-index 1