-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
28 lines (21 loc) · 1007 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
set -g prefix C-space
## List of plugins, install with prefix + I
# For this to work you need to install https://github.com/tmux-plugins/tpm
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'
set -g @themepack 'powerline/block/gray'
## Rename windows to fit current application
setw -g automatic-rename on
# set-option -g status-interval 5
# set-option -g automatic-rename on
set-option -g automatic-rename-format '#{#{s|/Users/chris|~|:pane_current_path}#{?#{s/zsh//:pane_current_command},:#{s/zsh//:pane_current_command},}}'
## status bar at top of window
set-option -g status-position top
## start panes from 1 not 0
set -g base-index 1
setw -g pane-base-index 1
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm'