-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
48 lines (32 loc) · 1.43 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
set -g prefix C-a
unbind C-b
bind C-a send-prefix
bind C-s set synchronize-panes
bind r source-file ~/.tmux.conf
bind e popup -E 'exec ranger'
bind o popup -E '/Users/yichong/dev/t.sh'
#bind p run-shell 'sel'
set -g default-terminal "screen-256color"
# set-option -g default-shell /bin/zsh
setw -g mode-keys vi # emacs
set -g mouse on # mode-mouse on
set -g status-position top
set -g base-index 1
setw -g pane-base-index 1
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green][#[fg=cyan]#S#[fg=green]]'
set -g status-left-length 20
set -g window-status-separator " "
set -g status-style "fg=#ebdbb2,bg=#282828"
set -g pane-border-style "fg=#ebdbb2"
set -g pane-active-border-style "fg=#d79921"
#if-shell "test ! -d ~/.tmux/plugins/tpm" "git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'sainnhe/tmux-fzf'
run-shell "if which powerline-daemon > /dev/null; then powerline-daemon -q; fi"
if-shell "test -f /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf" "source-file /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
if-shell "test -f /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf" "source-file /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
run '~/.tmux/plugins/tpm/tpm'
TMUX_FZF_LAUNCH_KEY="C-f"