aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-02-21 09:55:03 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commita402ca8e0ea6d4b05a78661ba9bb55360a8ff53d (patch)
tree21fe561d3fa2b67c5010513720fe39d8039bc839 /tmux.conf
parent5c2a6658820ec7d037b22cff5f3186d31d1208af (diff)
downloaddotnvim-a402ca8e0ea6d4b05a78661ba9bb55360a8ff53d.tar.gz
dotnvim-a402ca8e0ea6d4b05a78661ba9bb55360a8ff53d.zip
Added tmux conf
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..bbf0e4b
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,24 @@
+# use C - a
+unbind C-b
+set-option -g prefix C-a
+bind-key C-a send-prefix
+
+# split panes using | and -
+bind | split-window -h
+bind - split-window -v
+unbind '"'
+unbind %
+
+# switch panes using Alt-arrow without prefix
+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
+
+# Enable mouse mode (tmux 2.1 and above)
+set -g mouse on
+
+# don't rename windows automatically
+set-option -g allow-rename off
+
+set -g default-terminal "xterm-256color"