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.luato the root of your neovim config (where init.lua file is located). - Import the
session-save.luafile using the following command in yourinit.luafile.
require("session-save")[ ] Enable the neotree buffer save.