Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

keymap "p" breaks pasting from registry in visual mode

Open benvds opened this issue 2 years ago • 2 comments

https://github.com/LunarVim/Neovim-from-scratch/blob/1d14e44126b153943abc8559e3c2a8ccce9fe931/lua/user/keymaps.lua#L54

e.g. when register "a has foo when in visual mode with bar selected and i paste from register "a with "ap I expect bar to be replaced with foo. instead it pastes from register _d (black hole?).

benvds avatar May 04 '22 16:05 benvds

Don't use that keymap, sometimes it has unexpected behavior

vurtune avatar May 05 '22 03:05 vurtune

Anyone has find a solution?

RicardoRien avatar Apr 03 '23 01:04 RicardoRien