-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
60 lines (46 loc) · 1.71 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
57
58
59
60
set -g default-terminal "screen-256color"
# Status Bar
set -g status-right-length 150
set -g status-position bottom
set -g status-justify right
set -g status-bg black #colour23
set -g status-fg colour188
set -g status-left ''
set -g window-status-format "#[fg=colour188,bg=black] #I #W "
set -g window-status-current-format "#[fg=colour188,bg=colour167] ✓ #[fg=colour188,bg=colour167,noreverse] #I #W "
#set -g status-right '#[fg=colour188,bg=black]#(tmux-spotify-info) #[fg=colour188,bg=black] %A %b %d #[fg=colour188,bg=black]| %I:%M '
set -g status-right ''
set -g pane-border-style 'fg=colour188 bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=colour203'
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind-key v split-window -h
bind h split-window -v
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
bind -n S-Left previous-window
bind -n S-Right next-window
# create new session
bind C-c new-session
setw -g mode-keys vi
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
#prefix + Ctrl-s - save
#prefix + Ctrl-r - restore
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# 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 -b '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'