-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
56 lines (40 loc) · 1.38 KB
/
tmux.conf
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#setting the delay between prefix and command
set -s escape-time 5
# Set the base index for windows to 1 instead of 0
set -g base-index 1
# Set bind key to reload configuration file
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Enable mouse support
set -g mouse on
# Set vi as the default editor
set -g status-keys vi
# Set vi mode for keys
set -g mode-keys vi
# set the status line's colors
# set -g status-style fg=white,bg=blue
# activity
set -g monitor-activity on
set -g visual-activity off
# split current window horizontally
bind - split-window -h
# split current window vertically
bind _ split-window -v
# pane navigation
bind l select-pane -L # move left
bind j select-pane -D # move down
bind k select-pane -U # move up
bind h select-pane -R # move right
bind > swap-pane -D # swap current pane with the next one
bind < swap-pane -U # swap current pane with the previous one
set -g @plugin 'wfxr/tmux-power'
set -g @tmux_power_theme 'moon'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'