aboutsummaryrefslogtreecommitdiff
path: root/linux/tmux.conf
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-05-03 08:41:57 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2022-05-03 08:41:57 +0200
commit12102c365247329f4d6964d6b48e12fa2bf67208 (patch)
tree0275ffef4d603a5f19dd161f79d6f80ebc9ab770 /linux/tmux.conf
parent8c8ea3760651c226e585a67b3800e676a2cc86c0 (diff)
downloaddotfiles-12102c365247329f4d6964d6b48e12fa2bf67208.tar.gz
dotfiles-12102c365247329f4d6964d6b48e12fa2bf67208.zip
Some changes
Diffstat (limited to 'linux/tmux.conf')
-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"