First day of development changes

This commit is contained in:
Chris
2025-04-14 15:20:54 +01:00
parent 01164c6d8b
commit c3574de9bc
8 changed files with 177 additions and 112 deletions

View File

@@ -20,17 +20,17 @@ vim.api.nvim_create_autocmd('FocusLost', {
command = 'silent! wa', -- Save all files when moving away from the window
})
vim.api.nvim_create_autocmd('InsertLeave', {
group = autosave_group,
pattern = '*',
command = 'silent! wa', -- Save all files when leaving insert mode
})
-- vim.api.nvim_create_autocmd('InsertLeave', {
-- group = autosave_group,
-- pattern = '*',
-- command = 'silent! wa', -- Save all files when leaving insert mode
-- })
vim.api.nvim_create_autocmd('TextChanged', {
group = autosave_group,
pattern = '*',
command = 'silent! wa', -- Save all files when text is changed
})
-- vim.api.nvim_create_autocmd('TextChanged', {
-- group = autosave_group,
-- pattern = '*',
-- command = 'silent! wa', -- Save all files when text is changed
-- })
vim.api.nvim_create_autocmd("User", {
pattern = "OilActionsPost",