summaryrefslogtreecommitdiff
path: root/solanum/dot_tmux.conf
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@inria.fr>2020-02-11 16:06:15 +0100
committerAlex Auvolat <alex.auvolat@inria.fr>2020-02-11 16:06:15 +0100
commitf3e78201ed4e30043ee529045f9e1ce23537ec90 (patch)
treef3794b0e99fbbb609c457eb21100e025efb73885 /solanum/dot_tmux.conf
parent9e00656bd5b3368bdf3b814ee6bce3b6792bfd31 (diff)
downloaduser-config-f3e78201ed4e30043ee529045f9e1ce23537ec90.tar.gz
user-config-f3e78201ed4e30043ee529045f9e1ce23537ec90.zip
Add solanum config
Diffstat (limited to 'solanum/dot_tmux.conf')
-rw-r--r--solanum/dot_tmux.conf55
1 files changed, 55 insertions, 0 deletions
diff --git a/solanum/dot_tmux.conf b/solanum/dot_tmux.conf
new file mode 100644
index 0000000..be0d6bf
--- /dev/null
+++ b/solanum/dot_tmux.conf
@@ -0,0 +1,55 @@
+# KEY BINDINGS
+
+setw -g mode-keys vi
+
+# remap prefix to Control + a
+set -g prefix C-q
+unbind C-b
+bind C-q send-prefix
+
+unbind q
+bind-key q copy-mode
+
+unbind p
+bind p paste-buffer
+
+# force a reload of the config file
+unbind r
+bind r source-file ~/.tmux.conf
+
+# quick pane cycling
+unbind ^A
+bind ^A select-pane -t :.+
+
+# switch panes using vim-like bindings C-a hjkl
+unbind h
+unbind j
+unbind k
+unbind l
+bind h select-pane -L
+bind l select-pane -R
+bind k select-pane -U
+bind j select-pane -D
+# switch panes using bindings C-q C-hl
+unbind ^H
+unbind ^L
+bind ^H previous-window
+bind ^L next-window
+
+# OTHER OPTIONS
+
+set -g mouse on
+
+set -g escape-time 0
+
+# don't rename windows automatically
+set-option -g allow-rename off
+
+
+######################
+### DESIGN CHANGES ###
+######################
+
+set -g status-bg colour6
+
+set -g default-terminal "screen-256color"