-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
73 lines (64 loc) · 1.92 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
72
73
#Basics
unbind C-b
set -g prefix C-a
bind-key a send-prefix
set -g default-terminal screen-256color
set -g renumber-windows on
# Movement
setw -g mode-keys vi
unbind-key h
unbind-key j
unbind-key k
unbind-key l
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# Automatically set window title
setw -g automatic-rename
# Reload TMUX
bind r source-file ~/.tmux.conf
# Status Bar
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-bg default
set-option -g status-fg white
# Colorz
setw -g window-status-format '#[fg=255]#[bg=cyan,bold] #I #[default] #W '
setw -g window-status-current-format '#[bg=green,bold] #[fg=black]* #[default] #W '
setw -g window-status-current-bg default
setw -g window-status-current-fg default
setw -g window-status-activity-fg white
setw -g window-status-activity-bg brightred
setw -g window-status-separator ' '
# Splitz
# use vim-like keys for splits and windows
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
set-option -g pane-active-border-fg white
set-option -g pane-active-border-bg default
set-option -g pane-border-fg white
set-option -g pane-border-bg default
# Highlighting the active window in status bar
# Shhhhhh
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-content off
set-option -g visual-silence off
set-window-option -g monitor-activity on
set-window-option -g monitor-content on
set-option -g bell-action none
# Use pwd when making windows/panes
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"