forked from dougblack/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
53 lines (40 loc) · 1.19 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
set -g prefix C-a
bind C-a send-prefix
# basic settings
set-window-option -g mode-keys vi # vi key
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
set-option -g status-keys vi
set-window-option -g utf8 on # utf8 support
set-window-option -g mode-mouse off # disable mouse
# split window
bind | split-window -h
bind - split-window -v
# move between windows
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind p paste-buffer
set -g default-terminal "xterm-256color"
set -g status-fg white
set -g status-bg colour234
# Active window status
set -g window-status-activity-attr bold
set -g window-status-current-format ""
# Borders
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
# Entering a command
set -g message-fg white
set -g message-bg colour13
set -g message-attr bold
setw -g monitor-activity off
set -g visual-activity off
set -g status-left-length 30
set -g status-left "#I:#P"
set -g status-right "%H:%M %m-%d"
# reload config file
bind r source-file ~/.tmux.conf
set-option -g default-command "reattach-to-user-namespace -l zsh"
source '/Users/dblack/code/powerline/powerline/bindings/tmux/powerline.conf'