From 43eba2a72e8f7c61c334dad97778d318880539de Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 19 Feb 2019 22:10:45 -0500 Subject: [PATCH] multi-key presses for tmux resizing --- .tmux.conf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index f255afa..5902aa2 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -2,7 +2,7 @@ # _ # | |_ _ __ ___ _ ___ __ # | __| '_ ` _ \| | | \ \/ / -# | |_| | | | | | |_| |> < +# | |_| | | | | | |_| |> < # \__|_| |_| |_|\__,_/_/\_\ # ############################# @@ -137,11 +137,11 @@ bind C-j previous-window bind C-k next-window bind-key C-a last-window # C-a C-a for last active window bind A command-prompt "rename-window %%" -# By default, all windows in a session are constrained to the size of the -# smallest client connected to that session, -# even if both clients are looking at different windows. -# It seems that in this particular case, Screen has the better default -# where a window is only constrained in size if a smaller client +# By default, all windows in a session are constrained to the size of the +# smallest client connected to that session, +# even if both clients are looking at different windows. +# It seems that in this particular case, Screen has the better default +# where a window is only constrained in size if a smaller client # is actively looking at it. setw -g aggressive-resize on @@ -156,10 +156,10 @@ bind-key k select-pane -U bind-key l select-pane -R # Resizing --------------------------------------------------------------- -bind-key C-h resize-pane -L -bind-key C-j resize-pane -D -bind-key C-k resize-pane -U -bind-key C-l resize-pane -R +bind-key -r C-h resize-pane -L +bind-key -r C-j resize-pane -D +bind-key -r C-k resize-pane -U +bind-key -r C-l resize-pane -R # use vim motion keys while in copy mode setw -g mode-keys vi