resession.nvim
resession.nvim copied to clipboard
A replacement for mksession with a better API
This fixes an issue I was running into where the cursor position of open buffers would not get restored properly. The easiest way to reproduce is to open a file...
### Did you check the docs and existing issues? - [X] I have read the docs - [X] I have searched the existing issues ### Neovim version (nvim -v) 0.9.6...
### Did you check the docs and existing issues? - [X] I have read the docs - [X] I have searched the existing issues ### Neovim version (nvim -v) v0.10.0-dev-2582+g2a8cef6bd...
How could I persist my fold states and cursor position per file? just to be clear on how I'm using this plugin, I'm doing nothing fancy or out of the...
### Did you check the docs and existing issues? - [X] I have read the docs - [X] I have searched the existing issues ### Neovim version (nvim -v) NVIM...
Fire [`DirChanged`](https://neovim.io/doc/user/autocmd.html#DirChanged) event when running `resession.load()`. Not doing this causes bugs like [this](https://github.com/vyfor/cord.nvim/issues/90)
### Did you check the docs and existing issues? - [X] I have read the docs - [X] I have searched the existing issues ### Neovim version (nvim -v) NVIM...
:robot: I have created a release *beep* *boop* --- ## [1.3.0](https://github.com/stevearc/resession.nvim/compare/v1.2.1...v1.3.0) (2025-11-05) ### Features * Add `notify` option for deleting a session ([#70](https://github.com/stevearc/resession.nvim/issues/70)) ([35af2d4](https://github.com/stevearc/resession.nvim/commit/35af2d43a712592f8cc94047cb1a7f0a259a2976)) * extension to restore colorscheme ([#67](https://github.com/stevearc/resession.nvim/issues/67))...
### Did you check existing requests? - [X] I have searched the existing issues ### Describe the feature I can't find a way to configure to restore last session on...
### Did you check existing requests? - [X] I have searched the existing issues ### Describe the feature Would be great to have a `require"resession".has(vim.fn.getcwd(), {dir = "dirsession"})` api for...