summaryrefslogtreecommitdiff
path: root/old/solanum/dot_tmux.conf
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
commitd47dd5aa3882aea1a8eff4fb9faa4881274559dc (patch)
treeb438c8fb8953b84614c170a5278ae72ece90bb68 /old/solanum/dot_tmux.conf
parenteaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (diff)
downloaduser-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.tar.gz
user-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.zip
Unify things and rename things
Diffstat (limited to 'old/solanum/dot_tmux.conf')
-rw-r--r--old/solanum/dot_tmux.conf60
1 files changed, 60 insertions, 0 deletions
diff --git a/old/solanum/dot_tmux.conf b/old/solanum/dot_tmux.conf
new file mode 100644
index 0000000..f122ae7
--- /dev/null
+++ b/old/solanum/dot_tmux.conf
@@ -0,0 +1,60 @@
+# KEY BINDINGS
+
+
+#new-session -n $HOST
+
+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"
+
+#set -ga terminal-overrides ',xterm*:smglr=\E7\E[?69h\E[%i%p1%d;%p2%ds\E8:mgc=\E7\E[?69l\E8'