feat(plugins): add undotree
- BREAKING CHANGE: keymap `U` to toggle undotree
This commit is contained in:
parent
85193f19fd
commit
04a7ec0218
@ -39,6 +39,7 @@
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
"typst.vim": { "branch": "main", "commit": "8ce752f1ba1277046429cb469c17ff2e1abc718f" },
|
||||
"undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
|
||||
"vim-pandoc-syntax": { "branch": "master", "commit": "05ef7f44ebaea37159db8d365058c0a9e2ef14b5" },
|
||||
"vim-rhubarb": { "branch": "master", "commit": "386daa2e9d98e23e27ad089afcbe5c5a903e488d" },
|
||||
|
@ -67,3 +67,5 @@ keymap('n', 'Y', 'yg_', { noremap = true, silent = true, desc = '[Y]ank the line
|
||||
-- {>,<} preserve the selection
|
||||
keymap('v', '>', '>gv', { noremap = true, silent = true })
|
||||
keymap('v', '<', '<gv', { noremap = true, silent = true })
|
||||
-- Undotree
|
||||
keymap('n', 'U', vim.cmd.UndotreeToggle, { desc = "[U]ndotree toggle", silent = true, noremap = true })
|
||||
|
@ -349,5 +349,7 @@ require('lazy').setup({
|
||||
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
|
||||
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
||||
lazy = false,
|
||||
}
|
||||
},
|
||||
-- undotree
|
||||
'mbbill/undotree',
|
||||
}, {})
|
||||
|
Loading…
x
Reference in New Issue
Block a user