From 6aed0e934692fed5fd509f67eff6da8aaccf3ea9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 2 Dec 2024 15:44:20 +0100 Subject: Fix conflicting with vim bindings and match resize to vim --- .tmux.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index b30da66..64fad8f 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -17,13 +17,14 @@ set-window-option -g alternate-screen on # allow running alternate screen (t set-window-option -g mode-keys vi # Vi mode and copy paste 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 +# bind-key -n C-k clear-history # Conflicts with vim mappings +bind-key -n C-l send-keys C-l \; send-keys -R \; 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 +bind-key -r H resize-pane -L 20 +bind-key -r J resize-pane -D 10 +bind-key -r K resize-pane -U 10 +bind-key -r L resize-pane -R 20 # Vim style pane navigation bind h select-pane -L -- cgit v1.2.3