-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
39 lines (32 loc) · 945 Bytes
/
.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
# Set the shortcut key to Ctrl-a instead of the standard Ctrl-b
set -g prefix C-a
# Shortcut for reloading configuration
bind r source-file ~/.tmux.conf
# Set XTerm keybindings
setw -g xterm-keys on
# Set 256 colors
set-option -g default-terminal "screen-256color"
# Use vim bindings
setw -g mode-keys vi
# Terminal titles
set -g set-titles on
set -g set-titles-string '#(whoami)@#h'
# Status bar configuration
set -g status-utf8 on
set -g status-bg black
set -g status-fg white
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-justify left
set -g status-left "#[fg=blue]#(whoami)#[fg=white]@#[fg=magenta]#(hostname -s)"
set -g status-right '#[fg=green]#S #[fg=white]%a %d %b %R'
# Remat window-pane navigation to use vim-style keys
unbind-key j
unbind-key k
unbind-key h
unbind-key l
bind-key j select-pane -D
bind-key k select-pane -U
bind-key h select-pane -L
bind-key l select-pane -R