-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
32 lines (23 loc) · 830 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
# set window split
bind-key v split-window -h
bind-key b split-window
# Ctrl-a as prexix as in screen
set-option -g prefix C-a
# Allows for faster key repetition
set -s escape-time 0
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix
# hjkl pane traversal
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# Add powerline
run-shell "powerline-daemon -q"
source-file /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
set -g default-terminal "screen-256color"
if-shell "[ -f ~/.tmux.local.conf ]" 'source ~/.tmux_local.conf'