Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chamal1120/nvim-session-save
- Owner: Chamal1120
- Created: 2024-11-13T03:26:25.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T03:46:45.000Z (about 2 months ago)
- Last Synced: 2024-11-13T04:26:38.564Z (about 2 months ago)
- Topics: neovim, neovim-dotfiles, neovim-session, vim-session
- Language: Lua
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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