Skip to content

nvimdev/dbsession.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbsession.nvim

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

  • 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

About

a simple small powerful session for neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages