-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
34 lines (28 loc) · 954 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
# tmux plugin manager
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' # standar config
set -g @plugin 'tmux-plugins/tmux-pain-control' # panel control |,/,_,-
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'
# INSTALL: 1) add plugin above and 2) prefix + I
# UNINSTALL: 1) comment plugin above and 2) prefix + I
#
# 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 sequence ^a ^a
unbind ^A
bind ^A select-pane -t :.+
# airline
source-file .config/tmux/.tmux-airline
#if-shell "test -f .tmux/.tmux-airline" "source .tmux/.tmux-airline"
# enable terminal compability
set-option -ga terminal-overrides ",xterm-256color:Tc"
bind j resize-pane -D 10
bind k resize-pane -U 10
bind l resize-pane -L 10
bind h resize-pane -R 10