preservim / vim-textobj-quote

Use ‘curly’ quote characters in Vim
Other
123 stars 6 forks source link

Using with `r`eplace #28

Closed JensHeinrich closed 2 years ago

JensHeinrich commented 4 years ago

When using r" the " is not replaced with the 'correct' quotation mark When using xi" it is

This is at least unexpected

telemachus commented 3 years ago

I remember also being surprised by this the first time I tried to use r with a quotation mark. (It makes more sense when you look at the code, which works via maps in insert mode.)

I don’t think that there’s any way to have educate work when using r<quotation>, but do you think it would help to mention this as a limitation in the documentation under Educate?

telemachus commented 2 years ago

Closing since this is a limitation of how r works in vim.