[mini.pick] paste with command + v #2258
Replies: 3 comments 2 replies
-
|
Cool, I do it this way: MiniPick.setup({
mappings = {
sys_paste = {
char = "<C-v>",
func = function()
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<C-r>+", true, true, true), "n", true)
end,
},
},
}) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing! I believe there is a loose But of course my suggestion would be to get comfortable with |
Beta Was this translation helpful? Give feedback.
-
|
Non-streaming paste (which seems to mostly be the case for not large amount of pasted text) from the system clipboard is now supported in 'mini.pick' out of the box. The reasoning is described in 15aa6de. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't get used to use register, I prefer to use command + v, so I overwrite the behavior of mini pick with the following snippet:
Beta Was this translation helpful? Give feedback.
All reactions