summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-10-26 18:02:52 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-10-26 18:02:52 +0200
commit6fbeb931cecaed4433b84c74b87b647d5e22396d (patch)
treef2644a55ccdade331d2965189d79f99ad49908a1 /tmux.conf
parent0e0b22c7f1d5041c5fa29652643a6d1351fe9825 (diff)
Add tmux.conf, clean up
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