summaryrefslogtreecommitdiff
path: root/kusanagi/dot_tmux.conf
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-23 20:13:32 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-23 20:13:32 +0100
commitdb61f6d0a707750fbc650b80d605b818bbcaf708 (patch)
treedd2eacffa3474ec4838f5a151fd79e5f6381d433 /kusanagi/dot_tmux.conf
parent2acee2bb448d2a9a5e70d862c114cb58206beae4 (diff)
downloaduser-config-db61f6d0a707750fbc650b80d605b818bbcaf708.tar.gz
user-config-db61f6d0a707750fbc650b80d605b818bbcaf708.zip
Update kusanagi config
Diffstat (limited to 'kusanagi/dot_tmux.conf')
-rw-r--r--kusanagi/dot_tmux.conf57
1 files changed, 57 insertions, 0 deletions
diff --git a/kusanagi/dot_tmux.conf b/kusanagi/dot_tmux.conf
new file mode 100644
index 0000000..bd8d4b5
--- /dev/null
+++ b/kusanagi/dot_tmux.conf
@@ -0,0 +1,57 @@
+# 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
+
+set -g default-terminal "screen-256color"
+
+
+######################
+### DESIGN CHANGES ###
+######################
+
+set -g status-bg colour8
+set -g status-fg colour15
+