diff --git a/init.lua b/init.lua index 3340b0a..6291617 100644 --- a/init.lua +++ b/init.lua @@ -160,6 +160,7 @@ vim.opt.scrolloff = 10 -- Set highlight on search, but clear on pressing in normal mode vim.opt.hlsearch = true vim.keymap.set('n', '', 'nohlsearch') +vim.keymap.set('n', '', vim.cmd.UndotreeToggle) vim.keymap.set('n', '', ':lua require("harpoon.mark").add_file()') vim.keymap.set('n', '', ':lua require("harpoon.mark").rm_file()') @@ -238,6 +239,7 @@ require('lazy').setup({ 'neoclide/coc.nvim', 'junegunn/fzf', 'xiyaowong/transparent.nvim', + 'mbbill/undotree', -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following