summaryrefslogtreecommitdiffstats
path: root/dot_config/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/tmux')
-rw-r--r--dot_config/tmux/tmux.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/dot_config/tmux/tmux.conf b/dot_config/tmux/tmux.conf
new file mode 100644
index 0000000..5c017d8
--- /dev/null
+++ b/dot_config/tmux/tmux.conf
@@ -0,0 +1,30 @@
+set-option -g default-shell "/bin/zsh"
+
+# https://github.com/microsoft/WSL/issues/5931
+set -sg escape-time 50
+
+set -g mouse on
+set -ga terminal-overrides ",xterm-256color:Tc"
+set -g default-terminal "tmux-256color"
+set -g @plugin "arcticicestudio/nord-tmux"
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'tmux-plugins/tmux-yank'
+set -g default-command "${SHELL} -l"
+set -g @plugin 'jaclu/tmux-menus'
+set -g @plugin 'schasse/tmux-jump'
+set -g @plugin 'MunifTanjim/tmux-mode-indicator'
+
+set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_DATA_HOME/tmux/plugins/"
+
+#ctrl-a for prefix
+unbind C-b
+set-option -g prefix C-a
+bind-key C-a send-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
+
+#Make sure you have tmux-plugin-manager installed!
+run '/usr/share/tmux-plugin-manager/tpm'