summaryrefslogtreecommitdiffstats
path: root/dot_config/tmux/tmux.conf
blob: 5c017d85abfd77ed3db500053cf0a9b3f06e1692 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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'