aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/tmux.conf15
1 files changed, 9 insertions, 6 deletions
diff --git a/linux/tmux.conf b/linux/tmux.conf
index 131fc47..63b4cb3 100644
--- a/linux/tmux.conf
+++ b/linux/tmux.conf
@@ -38,10 +38,10 @@ set -g visual-activity on
unbind C-b
set -g prefix C-a
-bind -n M-Left select-pane -L
-bind -n M-Right select-pane -R
-bind -n M-Up select-pane -U
-bind -n M-Down select-pane -D
+bind -n C-M-h resize-pane -L 2
+bind -n C-M-j resize-pane -D 2
+bind -n C-M-k resize-pane -U 2
+bind -n C-M-l resize-pane -R 2
# Set copying settings
setw -g mode-keys vi
@@ -68,6 +68,9 @@ set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g mouse on
#set-option -s set-clipboard off
+# Sync panes
+bind-key = set-window-option synchronize-panes
+
# -- macros --------------------------------------------------------------------
bind-key a send-keys \"jakob.stendahl\ <jakob.stendahl@infomedia.dk>\"
@@ -92,5 +95,5 @@ bind-key -T copy-mode-vi 'C-k' select-pane -U
bind-key -T copy-mode-vi 'C-l' select-pane -R
bind-key -T copy-mode-vi 'C-\' select-pane -l
-
-
+# -- Utility ------------------------------------------------------------------
+bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"