zenoli / zenovim

My neovim config
2 stars 0 forks source link

Fix copy/paste bindings for visual mode #68

Closed zenoli closed 1 year ago

zenoli commented 1 year ago

Currently we use bindings <leader>py, <leader>pd and <leader>pd for "paste yank", "paste delete" and "paste clipboard" respectively. These bindings only work in normal mode but not in visual/select/visual-block modes.

Expected behaviour:

Enter visual mode and select text to replace by paste action. Press <leader>pd and the selected text should get replaced by whatever is in register "1" (aka. most recent deletion).