-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.tmux.conf
56 lines (48 loc) · 1.29 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
# prefix key like gnu screen
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# vim-like pane navigation
bind-key v split-window -h
bind-key s split-window -v
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# don't delay the esc key, this makes vim a nightmare
set -sg escape-time 0
# resize panes
bind-key -r H resize-pane -L 5
bind-key -r L resize-pane -R 5
bind-key -r J resize-pane -D 5
bind-key -r K resize-pane -U 5
# window navigation
bind-key a last-window
bind-key q display-panes
bind-key c new-window
bind-key t next-window
bind-key T previous-window
bind-key space next-window
bind-key bspace previous-window
bind-key enter next-layout
bind-key C-o rotate-window
# misc keys
bind-key r refresh-client
bind-key . command-prompt
# options
set -g renumber-windows on
set -g bell-action any
set -g visual-bell off
set -g default-terminal "screen-256color"
set -g history-limit 2000
setw -g monitor-activity on
setw -g automatic-rename on
# status line
set -g status-style fg=white
set -g status-style bg=black
set -g message-style fg=white
set -g message-style bg=black
set -g status-right '#h '
set -g window-status-format " #I.#W "
set -g window-status-current-format "#[fg=green,bg=default][#I.#W]#[default]"