10 aug 2026
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
require("undotree").setup {
|
||||
float_diff = true,
|
||||
layout = "left_bottom",
|
||||
position = "left",
|
||||
ignore_filetype = { "undotree", "undotreeDiff", "qf", "TelescopePrompt", "spectre_panel", "tsplayground" },
|
||||
window = {
|
||||
winblend = 30,
|
||||
},
|
||||
keymaps = {
|
||||
["move_next"] = "j",
|
||||
["move_prev"] = "k",
|
||||
["move2parent"] = "gj",
|
||||
["move_change_next"] = "J",
|
||||
["move_change_prev"] = "K",
|
||||
["action_enter"] = "<cr>",
|
||||
["enter_diffbuf"] = "p",
|
||||
["quit"] = "q",
|
||||
},
|
||||
-- Deprecated
|
||||
-- keymaps = {
|
||||
-- ['j'] = "move_next",
|
||||
-- ['k'] = "move_prev",
|
||||
-- ['gj'] = "move2parent",
|
||||
-- ['J'] = "move_change_next",
|
||||
-- ['K'] = "move_change_prev",
|
||||
-- ['<cr>'] = "action_enter",
|
||||
-- ['p'] = "enter_diffbuf",
|
||||
-- ['q'] = "quit",
|
||||
-- },
|
||||
}
|
||||
Reference in New Issue
Block a user