-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
55 lines (39 loc) · 1.39 KB
/
Copy pathdot_tmux.conf
File metadata and controls
55 lines (39 loc) · 1.39 KB
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
# https://github.com/ElijahLynn/dotfiles/blob/master/home/.tmux.conf
set-option -g prefix C-a
# Mouse support
set-option -g mouse off
# Set the base index for windows to 1 instead of 0
set-option -g base-index 1
# Renumber windows automatically
set-option -g renumber-windows on
# Set the base index for panes to 1 instead of 0
set-window-option -g pane-base-index 1
# Set the delay between prefix and command
set-option -s escape-time 1
# Move between panes with standard Vim keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Reload conf file easily
bind-key r source-file ~/.tmux.conf \; display "Tmux config reloaded!"
# Theme the status bar
set-option -g status-fg yellow
set-option -g status-bg colour172
# Center the window list
set-option -g status-justify centre
# Make splitting windows easier
bind | split-window -h
bind - split-window -v
# set inactive/active window styles
set -g window-active-style fg=red,bg=default
# set the pane border colors for all panes
set -g pane-border-style fg=colour250,bg=colour236
set -g pane-active-border-style fg=colour172,bg=default
# TMUX PLUGIN MANAGER
# https://github.com/tmux-plugins/tpm
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin"
run '~/.tmux/plugins/tpm/tpm'