-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
34 lines (32 loc) · 1.36 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
set -g prefix C-a
set -g default-terminal "xterm-256color"
set-window-option -g xterm-keys on
set -g @plugin 'tmux-plugins/tmux-yank'
set -g history-limit 50000
set -g display-time 4000
set -g status-interval 5
set -g status-keys emacs
set -g focus-events on
setw -g aggressive-resize on
bind C-p previous-window
bind C-n next-window
set -g base-index 1
setw -g pane-base-index 1
setw -g automatic-rename on # rename window to reflect current program
set -g renumber-windows on # renumber windows when a window is closed
# Don't wait for escape. Delays mode switching in vim
set -s escape-time 0
set-option -g status on
set-option -g status-position top
set-option -g status-interval 2
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(/mnt/d/Programs/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(/mnt/d/Programs/tmux-powerline/powerline.sh right)"
# New style powerline
set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]"
# Old style powerline
#set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]⮀"r235]⮀"
set-option -g status-fg colour255
set-option -g status-bg colour235