https://github.com/nvimdev/dbsession.nvim
a simple small powerful session for neovim
https://github.com/nvimdev/dbsession.nvim
Last synced: 9 months ago
JSON representation
a simple small powerful session for neovim
- Host: GitHub
- URL: https://github.com/nvimdev/dbsession.nvim
- Owner: nvimdev
- License: mit
- Created: 2023-01-27T04:01:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T08:28:21.000Z (over 2 years ago)
- Last Synced: 2025-03-24T14:11:13.931Z (9 months ago)
- Language: Lua
- Size: 8.79 KB
- Stars: 31
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# dbsession.nvim
A simple small and powerful session plugin for neovim
# Install
- Lazy.nvim
```lua
require('lazy').setup({
{'glepnir/dbsession.nvim', cmd = { 'SessionSave', 'SessionDelete', 'SessionLoad'},
opts = { --config --}
}
})
```
- packer.nvim
```lua
use({'glepnir/dbsession.nvim', cmd = { 'SessionSave', 'SessionDelete', 'SessionLoad'},
config = function() require('dbsession').setup({}) end
})
```
# Options
- `dir` the session store dir default is `stdpath(cache)/nvim/session`
- `auto_save_on_exit` auto save session when quit neovim
# Commands
- `SessionSave name?` you can set a special name for session if not set will use default name it
generate according cwd and time
- `SessionLoad |TAB` load a session by select from complete list
- `SessionDelete |TAB` delete a session
# LICENSE MIT