-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtmux.conf
More file actions
executable file
·35 lines (27 loc) · 1.16 KB
/
tmux.conf
File metadata and controls
executable file
·35 lines (27 loc) · 1.16 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
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'tmux-plugins/tmux-continuum'
# set -g @resurrect-dir '~/.tmux/sessions'
# set -g @continuum-restore 'off'
# set -g @continuum-save-interval '0'
#set -g @continuum-boot 'off'
# Don't run subshells as login shells
set -g default-command "${SHELL}"
set -g extended-keys on
set -g mouse on
# Start window/pane numbering at 1 (0 is a reach on phone keyboards)
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
# OSC 52 clipboard -- lets copy work over SSH
set -g set-clipboard on
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
# Automatically install plugins on initial start
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# Per-machine overrides (e.g. disable continuum-restore on specific hosts)
if-shell "[ -f ~/.tmux.conf.local ]" "source-file ~/.tmux.conf.local"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'