-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
44 lines (35 loc) · 1.43 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
# vi keys
set -g mode-keys vi
set -g status-keys vi
# colours
set -g pane-border-style fg=red
set -g status-style 'fg=black bg=magenta'
setw -g window-status-format '#[fg=black,bg=magenta] #W '
setw -g window-status-current-format '#[fg=black,bg=brightmagenta,bold] #W '
#setw -g window-status-format '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[default] #I #W #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]'
#setw -g window-status-current-format '#[fg=colour235,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #I #W #F #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]'
# status bar
set -g status-position top
#set -g window-status-current-style 'underscore'
set -g status-left ''
set -g status-right ''
# set shell to zsh
set -g default-command "/bin/bash"
# urxvt tab like window switching (-n: no prior escape seq)
bind -n C-t new-window
bind -n C-h prev
bind -n C-l next
bind -n S-h swap-window -t -1
bind -n S-l swap-window -t +1
bind -n C-q kill-window
#bind -n C-up rename-window
#bind-key -n C-up command-prompt -p "window name:" "new-window; rename-window '%%'"
bind-key -n M-r command-prompt -p "window name:" "rename-window '%%'"
# mouse
set -g mouse on
# don't automatically rename windows
set-option -g allow-rename off
# better font support
set -g default-terminal "tmux-256color"
# set -ag terminal-overrides ",xterm-256color:RGB"
set -sg escape-time 10