mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-25 06:18:48 +00:00
16 lines
456 B
Markdown
16 lines
456 B
Markdown
|
# Restoring vim and neovim sessions
|
||
|
|
||
|
- save vim/neovim sessions. I recommend
|
||
|
[tpope/vim-obsession](https://github.com/tpope/vim-obsession) (as almost every
|
||
|
plugin, it works for both vim and neovim).
|
||
|
- in `.tmux.conf`:
|
||
|
|
||
|
# for vim
|
||
|
set -g @resurrect-strategy-vim 'session'
|
||
|
# for neovim
|
||
|
set -g @resurrect-strategy-nvim 'session'
|
||
|
|
||
|
`tmux-resurrect` will now restore vim and neovim sessions if `Sessions.vim` file
|
||
|
is present.
|
||
|
|