-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
95 lines (75 loc) · 2.62 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
set -g prefix C-a
bind C-a send-prefix
unbind C-b
set-option -g history-limit 100000
set -sg escape-time 1
set -g default-terminal "screen-256color"
set -g base-index 1
set -g mouse on
#set-option -g mouse-utf8 on
set-option -g default-shell /bin/zsh
#set -g status-utf8 on
set -g status-style fg=white,bg=black
#set -g status-fg white
#set -g status-bg black
set -g pane-border-style fg=colour238,bg=black
set -g pane-active-border-style bg=colour118,bg=black
#set -g pane-border-fg colour238
#set -g pane-border-bg black
#set -g pane-active-border-fg colour118
#set -g pane-active-border-bg black
set -g message-style fg=colour232,bg=colour250,bright
#set -g message-fg colour232
#set -g message-bg colour250
#set -g message-attr bright
# source '/Library/Python/2.7/site-packages/powerline/bindings/tmux/powerline.conf'
setw -g xterm-keys on
setw -g mode-keys vi
setw -g window-status-style fg=cyan,bg=default,dim
#setw -g window-status-fg cyan
#setw -g window-status-bg default
#setw -g window-status-attr dim
setw -g pane-base-index 1
setw -g window-status-current-style fg=white,bg=red,bright
#setw -g window-status-current-fg white
#setw -g window-status-current-bg red
#setw -g window-status-current-attr bright
setw -g aggressive-resize on
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# For 1.9 - Make new windows start in the
# same directory as the current window
bind c new-window -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# toggle statusbar
bind-key b set-option status
# Setup 'v' to begin selection as in vim
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
# Update default binding of 'Enter' to also use copy-pipe
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"
set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@'
# List of plugins
# Supports `github_username/repo` or full git URLs
set -g @tpm_plugins " \
tmux-plugins/tpm \
tmux-plugins/tmux-resurrect \
"
# Other examples:
# github_username/plugin_name \
# [email protected]/user/plugin \
# [email protected]/user/plugin \
# initializes TMUX plugin manager
run-shell ~/.tmux/plugins/tpm/tpm
set -g @resurrect-strategy-vim "session"
set -g renumber-windows on
source ~/.tmux/theme.sh