Merge branch 'master' of github.com:fernandom06/kickstart.nvim into add-flutter-config
This commit is contained in:
commit
3eb075ec73
4 changed files with 41 additions and 2 deletions
16
lua/custom/plugins/sessions.lua
Normal file
16
lua/custom/plugins/sessions.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
'rmagatti/auto-session',
|
||||
config = function()
|
||||
require("auto-session").setup{
|
||||
auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
||||
session_lens = {
|
||||
-- If load_on_setup is set to false, one needs to eventually call `require("auto-session").setup_session_lens()` if they want to use session-lens.
|
||||
buftypes_to_ignore = {}, -- list of buffer types what should not be deleted from current session
|
||||
load_on_setup = true,
|
||||
theme_conf = { border = true },
|
||||
previewer = false,
|
||||
},
|
||||
vim.keymap.set("n", "<leader>ls", require("auto-session.session-lens").search_session, {noremap = true,})
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue