-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
24 lines (19 loc) · 1.02 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
### List of plugins
set -g @plugin 'tmux-plugins/tpm' # Plugins manager
set -g @plugin 'tmux-plugins/tmux-sensible' # Some sensible settings
# SETTINGS: VIM TMUX NAVIGATION!
set -g @plugin 'christoomey/vim-tmux-navigator' # seamless vim/tmux splits navigation (via <c-{hjkl/}>)
bind C-l send-keys 'C-l' # To enable clear-screen via "<prefix> C-l"
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
# SETTINGS: RESURRECT TMUX SESSIONS FROM THE DEAD
set -g @plugin 'tmux-plugins/tmux-resurrect' # To save/restore sessions
set -g @plugin 'tmux-plugins/tmux-continuum' # To save/restore sessions automatically
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-strategy-nvim 'session'
set -g @resurrect--capture-pane-contents 'on'
set -g @continuum-restore 'on'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'