diff --git a/init.lua b/init.lua index b56ce29814c..d2ab3fa30c6 100644 --- a/init.lua +++ b/init.lua @@ -121,6 +121,9 @@ vim.o.breakindent = true -- Enable undo/redo changes even after closing and reopening a file vim.o.undofile = true +-- To open a visual and interactive undo tree, type :Undotree +-- See `:help :Undotree` +vim.schedule(function() vim.cmd.packadd 'nvim.undotree' end) -- Case-insensitive searching UNLESS \C or one or more capital letters in the search term vim.o.ignorecase = true