From 99c2f7bbc80788c74d5c3407d43d1d2f7473cf5d Mon Sep 17 00:00:00 2001 From: MandavkarPranjal Date: Thu, 5 Sep 2024 12:25:22 +0530 Subject: [PATCH] replaced events with keys --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 62de02ea..95843cc6 100644 --- a/init.lua +++ b/init.lua @@ -910,8 +910,9 @@ require('lazy').setup({ { -- Review undo history with a tree view 'mbbill/undotree', - event = 'VeryLazy', -- Set the loading event to 'VeryLazy' - vim.keymap.set('n', 'vu', ':UndotreeToggle', { desc = 'Toggle Undotree' }), + keys = { + {'vu', ':UndotreeToggle', desc = 'Toggle Undotree' } + } }, -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the