-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
46 lines (34 loc) · 1.22 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
# remap prefix to control-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# use vi key bindings in copy mode
setw -g mode-keys vi
# use vi key bindings to switch panels
bind k selectp -U # switch to panel Up
bind j selectp -D # switch to panel Down
bind h selectp -L # switch to panel Left
bind l selectp -R # switch to panel Right
# copy to clipboard with y
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xsel -i --clipboard'
set -g default-terminal "tmux-256color" # all colors in tmux
set -ag terminal-overrides ",$TERM:Tc"
set -g history-limit 50000 # longer history
# Status line
#set -g status-fg green
#set -g status-bg black
set -sg escape-time 10 # faster command sequences
set -sg repeat-time 600 # increase repeat timeout
set -g focus-events on # focus events enabled
set -q -g status-utf8 on # higher versions of tmux use utf8
setw -q -g utf8 on
#set -g status-interval 10 # refresh 'status-left' and 'status-right' more often
set -g @plugin 'erikw/tmux-powerline'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'