diff --git a/dots/.nvim-environments/primary/config/lua/core/autocmds.lua b/dots/.nvim-environments/primary/config/lua/core/autocmds.lua index b2b96f79..4ad4797c 100644 --- a/dots/.nvim-environments/primary/config/lua/core/autocmds.lua +++ b/dots/.nvim-environments/primary/config/lua/core/autocmds.lua @@ -12,20 +12,6 @@ M.setup = function() vim.api.nvim_create_autocmd("BufWritePre", { command = "%s/\\s\\+$//e", }) - - -- NOTE: Remember folds - vim.api.nvim_create_augroup("SaveFolds", { clear = true }) - vim.api.nvim_create_autocmd("BufWinLeave", { - pattern = "*.*", - command = "mkview", - group = "SaveFolds" - }) - vim.api.nvim_create_autocmd("BufWinEnter", { - pattern = "*.*", - command = "silent! loadview", - group = "SaveFolds" - }) - end return M