Nvim: undotree settings for better visuals
This commit is contained in:
parent
2fa5105218
commit
ad2309d0ba
1 changed files with 12 additions and 6 deletions
|
@ -1,8 +1,14 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"mbbill/undotree",
|
"mbbill/undotree",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>u", "<cmd>UndotreeToggle<cr>", desc = "toggle undotree" },
|
{ "<leader>u", "<cmd>UndotreeToggle<cr>", desc = "toggle undotree" },
|
||||||
},
|
},
|
||||||
}
|
config = function()
|
||||||
|
vim.g.undotree_WindowLayout = 4
|
||||||
|
vim.g.undotree_SplitWidth = 40
|
||||||
|
vim.g.undotree_SetFocusWhenToggle = 1
|
||||||
|
end
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue