From 6fbeb931cecaed4433b84c74b87b647d5e22396d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Oct 2016 18:02:52 +0200 Subject: Add tmux.conf, clean up --- tmux.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tmux.conf (limited to 'tmux.conf') 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 instead of the default 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 -- cgit v1.2.1