summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-19 22:10:45 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-19 22:10:45 -0500
commit43eba2a72e8f7c61c334dad97778d318880539de (patch)
tree33a39436ae2ac30734f8457b50ea5af2636261ed
parenta04e65b812db507a74adc3efc2d630558240f55b (diff)
downloadeibhear-43eba2a72e8f7c61c334dad97778d318880539de.tar.gz
eibhear-43eba2a72e8f7c61c334dad97778d318880539de.tar.zst
eibhear-43eba2a72e8f7c61c334dad97778d318880539de.zip
multi-key presses for tmux resizing
-rw-r--r--.tmux.conf20
1 files 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