summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.tmux.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 7e93ea6..1fea36e 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -23,5 +23,14 @@ bind-key -r j resize-pane -D 5
bind-key -r k resize-pane -U 5
bind-key -r l resize-pane -R 5
+# Switch pane with Ctrl+Arrow (instead of prefix Ctrl+Arrow)
+# This is conflicting with MacOS keyboard shortcuts (System Preferences > Keyboard > Shortcuts > Mission Control)
+# move space left/move space right are disabled as well as Mission Control and Application windows shortcuts
+# in System Preferences > Mission Control > Keyboard and Mouse shortcuts
+bind-key -T root C-Up select-pane -U
+bind-key -T root C-Down select-pane -D
+bind-key -T root C-Left select-pane -L
+bind-key -T root C-right select-pane -R
+
# Load OSX specific configurations to add (fix copy)
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf'