This is a simple lua file to get vim session save feature to work on neovim with init.lua
.
vim session saves (afaik),
- Cursor position
- Code folds
- Buffers and their positions. (third party buffers have issues)
- Clone the repo to your local directory.
- Move the
session-save.lua
to the root of your neovim config (where init.lua file is located). - Import the
session-save.lua
file using the following command in yourinit.lua
file.
require("session-save")
[ ] Enable the neotree buffer save.