22 lines
758 B
Lua
22 lines
758 B
Lua
local options = {
|
|
auto_session_enabled = true,
|
|
auto_save_enabled = false,
|
|
auto_restore_enabled = false,
|
|
auto_session_use_git_branch = true,
|
|
log_level = "error",
|
|
auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
|
session_lens = {
|
|
-- If load_on_setup is false, make sure you use `:SessionSearch` to open the picker as it will initialize everything first
|
|
load_on_setup = false,
|
|
theme_conf = { border = true },
|
|
previewer = false,
|
|
mappings = {
|
|
-- Mode can be a string or a table, e.g. {"i", "n"} for both insert and normal mode
|
|
delete_session = { "i", "<C-D>" },
|
|
alternate_session = { "i", "<C-S>" },
|
|
},
|
|
},
|
|
}
|
|
|
|
return options
|