tmux-resurrect/docs/restoring_vim_and_neovim_sessions.md
2015-08-10 18:56:50 +02:00

456 B

Restoring vim and neovim sessions

  • save vim/neovim sessions. I recommend 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.