-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
53 lines (41 loc) · 1.32 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 default-terminal "screen-256color"
# Start window indexes at 1
set -g base-index 1
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Powerline (pip install --user powerline-status psutil)
#set -g status-interval 2
#set -g status-right '#(powerline tmux right)'
#set -g status-right-length 80
# Tmux 1.9 mouse mode
#set -g mouse on
# Set status bar
set -g status-bg black
set -g status-fg white
set -g window-status-current-style bg=colour240,fg=colour15
#set -g window-status-current-bg colour240
#set -g window-status-current-fg colour15
# Sets vim copy mode keys, and adds yank and vblock bindings
setw -g mode-keys vi
set -g status-keys vi
# Vi copypaste mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Vim style next and prev window
bind -n C-h previous-window
bind -n C-l next-window
bind -n C-n new-window
# /~https://github.com/jimeh/tmux-themepack
#set -g @plugin 'jimeh/tmux-themepack'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# -- /~https://github.com/tmux-plugins/tpm
#run '~/.tmux/plugins/tpm/tpm'
set-option -g history-limit 13000