summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
new file mode 100644
index 0000000..ab269aa
--- /dev/null
+++ b/.config/tmux/tmux.conf
@@ -0,0 +1,19 @@
+# Fix colours
+# set -g default-terminal "${TERM}"
+# set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
+# set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
+
+# fix escape key
+set -g escape-time 10
+
+set-option -sa terminal-overrides ",xterm*:Tc"
+
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+
+unbind C-b
+set -g prefix C-Space
+bind-key C-a send-prefix
+
+run '~/.tmux/plugins/tpm/tpm'
+