feat(nvim): properly configure undo telescope mappings
This commit is contained in:
parent
70b81785a8
commit
8b13b0e70c
@ -80,6 +80,14 @@ telescope.setup({
|
|||||||
},
|
},
|
||||||
undo = {
|
undo = {
|
||||||
side_by_side = true,
|
side_by_side = true,
|
||||||
|
use_delta = true,
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
["<C-cr>"] = require("telescope-undo.actions").yank_additions,
|
||||||
|
["<S-cr>"] = require("telescope-undo.actions").yank_deletions,
|
||||||
|
["<cr>"] = require("telescope-undo.actions").restore,
|
||||||
|
},
|
||||||
|
},
|
||||||
layout_strategy = "vertical",
|
layout_strategy = "vertical",
|
||||||
layout_config = {
|
layout_config = {
|
||||||
preview_height = 0.8,
|
preview_height = 0.8,
|
||||||
|
Loading…
Reference in New Issue
Block a user