NVim: undotree
This commit is contained in:
parent
5a28ef416f
commit
d437620e3e
1 changed files with 9 additions and 0 deletions
|
|
@ -53,6 +53,15 @@ let vp = pkgs.vimPlugins; in {
|
|||
config = builtins.readFile ./nvim/nvim-cmp-config.lua;
|
||||
}
|
||||
|
||||
# Undo tree
|
||||
{
|
||||
plugin = vp.undotree;
|
||||
type = "lua";
|
||||
config = ''
|
||||
vim.keymap.set({ "n", "v" }, "<leader>u", vim.cmd.UndotreeToggle, { desc = "Toggle undo tree" })
|
||||
'';
|
||||
}
|
||||
|
||||
# # Detect tabstop and shiftwidth automatically
|
||||
# vp.sleuth
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue