summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..8e1fa67
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,22 @@
+# Use <C-a> instead of the default <C-b> as Tmux prefix
+set-option -g prefix C-a
+unbind-key C-b
+bind-key C-a send-prefix
+
+set -g terminal-overrides 'xterm*:smcup@:rmcup@'
+
+# Mouse support disabled, depends on tmux version
+#set -g mouse-utf8 on
+#set -g mouse on
+bind -n WheelUpPane copy-mode
+
+# Act more like vim:
+set-window-option -g mode-keys vi
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+unbind p
+bind p paste-buffer
+bind -t vi-copy v begin-selection
+bind -t vi-copy y copy-selection

Contact - Imprint