-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
42 lines (31 loc) · 1.09 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
set-option -g default-shell "$SHELL"
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Use Vim shortcuts
setw -g mode-keys vi
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g mouse on
set-option -g renumber-windows on
set-option -g allow-rename off
set -g status-justify centre
# No delay ESC press
set -sg escape-time 0
# Bind SHIFT + Arrow to select window
bind -n S-Left previous-window
bind -n S-Right next-window
bind -T copy-mode-vi y send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind -T copy-mode-vi Enter send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# List of plugins
set -g @plugin "tmux-plugins/tpm"
set -g @plugin "christoomey/vim-tmux-navigator"
set -g @plugin "tmux-plugins/tmux-sensible"
set -g @plugin "tmux-plugins/tmux-resurrect"
set -g @plugin "tmux-plugins/tmux-continuum"
set -g @plugin "jimeh/tmux-themepack"
set -g @resurrect-strategy-nvim "session"
set -g @themepack "powerline/block/blue"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run "~/.tmux/plugins/tpm/tpm"