mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
feat(picker.undo): added ctrl+y to yank added lines from undo
This commit is contained in:
parent
bc087d36d6
commit
811a24cc16
3 changed files with 18 additions and 3 deletions
|
@ -758,7 +758,14 @@ M.undo = {
|
|||
format = "undo",
|
||||
preview = "preview",
|
||||
confirm = "item_action",
|
||||
win = { preview = { wo = { number = false, relativenumber = false, signcolumn = "no" } } },
|
||||
win = {
|
||||
preview = { wo = { number = false, relativenumber = false, signcolumn = "no" } },
|
||||
input = {
|
||||
keys = {
|
||||
["<c-y>"] = { "yank", mode = { "n", "i" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
icons = { tree = { last = "┌╴" } }, -- the tree is upside down
|
||||
diff = {
|
||||
ctxlen = 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue