plugin: undotree
This commit is contained in:
parent
df7624ba30
commit
1eee2a9393
|
|
@ -109,6 +109,7 @@ M.kterm = {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
M.telescope = {
|
||||
plugin = true,
|
||||
|
||||
|
|
@ -131,6 +132,14 @@ M.telescope = {
|
|||
},
|
||||
}
|
||||
|
||||
M.undotree = {
|
||||
plugin = true,
|
||||
n = {
|
||||
-- toggle
|
||||
["<leader>u"] = { "<cmd> UndotreeToggle <CR>", "toggle undotree"},
|
||||
},
|
||||
}
|
||||
|
||||
M.whichkey = {
|
||||
plugin = true,
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ opt.shortmess:append "sI"
|
|||
opt.signcolumn = "yes"
|
||||
opt.termguicolors = true
|
||||
opt.timeoutlen = 400
|
||||
opt.undofile = true
|
||||
|
||||
-- interval for writing swap file to disk, also used by gitsigns
|
||||
opt.updatetime = 250
|
||||
|
|
|
|||
|
|
@ -141,6 +141,13 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
|
||||
["mbbill/undotree"] = {
|
||||
cmd = "UndotreeToggle",
|
||||
init = function ()
|
||||
require("core.utils").load_mappings "undotree"
|
||||
end,
|
||||
},
|
||||
|
||||
["krolyxon/kterm"] = {
|
||||
config = function()
|
||||
require "plugins.configs.kterm"
|
||||
|
|
|
|||
Reference in New Issue