replaced events with keys

This commit is contained in:
MandavkarPranjal 2024-09-05 12:25:22 +05:30
parent 924d5b891b
commit 99c2f7bbc8
1 changed files with 3 additions and 2 deletions

View File

@ -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', '<leader>vu', ':UndotreeToggle<CR>', { desc = 'Toggle Undotree' }),
keys = {
{'<leader>vu', ':UndotreeToggle<CR>', desc = 'Toggle Undotree' }
}
},
-- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the