chore(nvim): organized autocmds, keymaps and variables into their own files

This commit is contained in:
Afonso Franco 2024-06-08 18:04:38 +01:00
parent 40b1a83486
commit 4b0bb95214
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
3 changed files with 21 additions and 9 deletions

View file

@ -0,0 +1,8 @@
vim.api.nvim_create_autocmd("VimLeavePre", {
pattern = "*",
callback = function()
if vim.g.savesession then
vim.api.nvim_command("mks! .session.vim")
end
end
})