GitHub - nvimdev/dbsession.nvim: a simple small powerful session for neovim (original) (raw)
A simple small and powerful session plugin for neovim
Install
- Lazy.nvim
require('lazy').setup({ {'glepnir/dbsession.nvim', cmd = { 'SessionSave', 'SessionDelete', 'SessionLoad'}, opts = { --config --} } })
- packer.nvim
use({'glepnir/dbsession.nvim', cmd = { 'SessionSave', 'SessionDelete', 'SessionLoad'}, config = function() require('dbsession').setup({}) end })
Options
dirthe session store dir default isstdpath(cache)/nvim/sessionauto_save_on_exitauto 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 timeSessionLoad |TABload a session by select from complete listSessionDelete |TABdelete a session