Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chamal1120/nvim-session-save

A simple lua file to enable vim session save in neovim
https://github.com/chamal1120/nvim-session-save

neovim neovim-dotfiles neovim-session vim-session

Last synced: about 2 months ago
JSON representation

A simple lua file to enable vim session save in neovim

Awesome Lists containing this project

README

        

## nvim session save config

This is a simple lua file to get vim session save feature to work on neovim with `init.lua`.

vim session saves (afaik),
1. Cursor position
2. Code folds
3. Buffers and their positions. (third party buffers have issues)

### How to setup

1. Clone the repo to your local directory.
2. Move the `session-save.lua` to the root of your neovim config (where init.lua file is located).
3. Import the `session-save.lua` file using the following command in your `init.lua` file.

```lua
require("session-save")
```

### To-do
[ ] Enable the neotree buffer save.

### Thanks