-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
40 lines (31 loc) · 808 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
40
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# Set status bar
set -g status-bg black
set -g status-fg yellow
set -g status-left '#[fg=blue]#H'
# change navigation keys to mimic vim
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Highlight active window
set-window-option -g window-status-current-bg yellow
set-window-option -g window-status-current-fg black
# Create binding for last window
bind-key C-a last-window
# Remove binding for split
unbind %
# Bind split to other keys
bind | split-window -h
bind - split-window -v
# clock
set-window-option -g clock-mode-colour magenta