-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
34 lines (26 loc) · 956 Bytes
/
Copy pathtmux.conf
File metadata and controls
34 lines (26 loc) · 956 Bytes
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
31
32
33
34
# tmux Configuration (theme-free base)
#
# To apply a theme, source a theme file (add before the TPM run line):
# source-file ~/.config/tmux/themes/dracula-theme.conf
# source-file ~/.config/tmux/themes/tokyo-night-theme.conf
#
# Theme files are in: dracula-theme/ and tokyo-night-theme/
set-option -g base-index 1
set-option -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -sg escape-time 10
# TPM plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'christoomey/vim-tmux-navigator'
# Enable mouse mode
set -g mouse on
set -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
bind | split-window -h
bind - split-window -v
# Close tmux session if no termianl window attach to it
set -g exit-empty on
set -g destroy-unattached on
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
run -b '~/.tmux/plugins/tpm/tpm'