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