add tmux-resurrect plugin
This commit is contained in:
11
.tmux.conf
11
.tmux.conf
@@ -164,3 +164,14 @@ set -g @copycat_search_C-f "(^|^\.|[[:space:]]|[[:space:]]\.|[[:space:]]\.\.|^\.
|
||||
set -g @copycat_search_C-u "(https?://|git@|git://|ssh://|ftp://|file:///)[[:alnum:]?=%/_.:,;~@!#$&()*+-]*"
|
||||
set -g @copycat_search_M-h "\b[0-9a-f]{7,40}\b"
|
||||
set -g @copycat_search_M-i "[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}"
|
||||
|
||||
# tmux-resurrect (https://github.com/tmux-plugins/tmux-resurrect)
|
||||
run-shell ~/.tmux/plugins/tmux-resurrect/resurrect.tmux
|
||||
set -g @resurrect-save 'a'
|
||||
set -g @resurrect-restore 'A'
|
||||
|
||||
set -g @resurrect-strategy-vim 'session' # save vim sessions (may require the tpope/vim-obsession plugin)
|
||||
set -g @resurrect-strategy-nvim 'session' # save neovim sessions (may require the tpope/vim-obsession plugin)
|
||||
set -g @resurrect-capture-pane-contents 'on' # save pane contents
|
||||
set -g @continuum-restore 'on' # restore session on tmux start
|
||||
set -g @continuum-save-interval '5' # save session every 5 minutes (default is 15)
|
||||
|
||||
Reference in New Issue
Block a user