mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-16 01:01:34 +00:00
auto save session
This commit is contained in:
@ -225,3 +225,8 @@ autocmd({ "BufReadPre" }, {
|
||||
group = aug,
|
||||
pattern = "*",
|
||||
})
|
||||
|
||||
-- 在 Vim 退出前保存会话
|
||||
autocmd("VimLeavePre", {
|
||||
command = ":SessionSave",
|
||||
})
|
||||
|
Reference in New Issue
Block a user