mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-12-07 09:35:37 -08:00
replaced events with keys
This commit is contained in:
5
init.lua
5
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', '<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
|
||||
|
||||
Reference in New Issue
Block a user