-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
44 lines (38 loc) · 1.26 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
# Reload this config
unbind r
bind r source-file ~/.tmux.conf \; display "Config reloaded!"
# Key bindings, mouse support, and terminal settings
set -g prefix C-s
set -g mouse on
set -g status on
set -ag terminal-overrides ",xterm-256color:RGB"
set -g default-terminal "tmux-256color"
unbind -T copy-mode-vi MouseDragEnd1Pane
# Move between panes Vim style
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Toggle the tmux status bar
bind-key b set-option -g status
# Vim like navigation using alt to navigate windows
bind -n M-h previous-window
bind -n M-l next-window
# Status bar styling
set -g base-index 1
setw -g pane-base-index 1
set -g automatic-rename on
set -g automatic-rename-format '#{b:pane_current_path}'
set -g status on
set -g status-position top
set -g status-justify centre # Center the text
set -g status-style bg=#161616,fg=white
set -g status-left ""
set -g status-right ""
set -g window-status-separator ""
set -g window-status-current-format "#[fg=white,bg=#161616]#I"
set -g window-status-format "#[fg=grey30,bg=#161616]#I"
set -g pane-border-style bg=default,fg=#161616
set -g pane-active-border-style bg=default,fg=gray
set -g display-panes-colour #161616
set -g display-panes-active-colour brightblack