diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 18:02:52 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 18:02:52 +0200 |
commit | 6fbeb931cecaed4433b84c74b87b647d5e22396d (patch) | |
tree | f2644a55ccdade331d2965189d79f99ad49908a1 /tmux.conf | |
parent | 0e0b22c7f1d5041c5fa29652643a6d1351fe9825 (diff) |
Add tmux.conf, clean up
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 22 |
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 |