[Bug]: Overrides visual mode r
YodaEmbedding opened this issue · 1 comments
YodaEmbedding commented
Bug Description
Rest of paragraph overrides the default vim behavior of r
in visual mode.
Partial workaround: using c
...<Esc>
instead of r
in visual mode covers 80% of use cases for r
.
Relevant Screenshot
No response
Reproduction & Sample Text
:vnoremap r
x r * <Cmd>lua require('various-textobjs').restOfParagraph()<CR>
restOfParagraph textob
neovim version
0.9
Make sure you have done the following
- I have updated to the latest version of the plugin.
chrisgrieser commented
tbh, I am inclined to keep it, since I think that a lot of people do not actually ever use r
in visual mode. And in the rare case that they do, they can just disable the keymap?