-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
72 lines (57 loc) · 2.35 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
61
62
63
64
65
66
67
68
69
70
71
if-shell "uname | grep -q Darwin" "source-file ~/dotfiles/tmux.osx" "source-file ~/dotfiles/tmux.linux"
#fix for nvim escape
set -g escape-time 10
set-option -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
# zsh
set-option -g default-shell /bin/bash
# increase scrollback buffer size
set -g history-limit 50000
# Switch window bindings
bind -n S-down new-window
bind -n S-left prev
bind -n S-right next
bind -n C-j new-window
bind -n C-h prev
bind -n C-l next
bind -n C-left swap-window -t -1
bind -n C-right swap-window -t +1
# Status line
set-option -g status on # turn the status bar on
set -g status-interval 5 # set update frequencey (default 15 seconds)
# set-option -g status-position top # position the status bar at top of screen
# visual notification of activity in other windows
#setw -g monitor-activity on
#set -g visual-activity on
# set color for status bar
set-option -g status-style bg=black,fg=colour255,dim
set-window-option -g window-status-style bg=black,fg=white,dim
set-window-option -g window-status-format " #I|#W#F "
set-window-option -g window-status-current-style bg=colour153,fg=black,bright
set-window-option -g window-status-current-format " #I|#W#F "
set -g status-left-length 60
set -g status-left "#[bg=colour14]#[fg=black] #h #[bg=colour10]#[fg=black] #S "
set -g status-right-length 60
set -g status-right "#{prefix_highlight} #[bg=colour10]#[fg=black] %d %b %Y #[bg=colour14]#[fg=black] %l:%M %p"
set -g @prefix_highlight_show_copy_mode 'on'
set -g @continuum-restore 'on'
# List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-sidebar'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-fpp'
# Other examples:
# github_username/plugin_name \
# [email protected]/user/plugin \
# [email protected]/user/plugin \
# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run -b '~/.tmux/plugins/tpm/tpm'