vim-abolish icon indicating copy to clipboard operation
vim-abolish copied to clipboard

Coerce: Keep cursor in the same place

Open eedrah opened this issue 7 years ago • 0 comments

Currently when I cr? it moves the cursor to the front of the WORD - Is this intended functionality? It would be nice to have an option that keeps the cursor in the same place.

My use case - I use Coerce most of the time in insert mode. I type a variable in camelCase and then immediately coerce it to UPPER_CASE without leaving insert mode, with <c-o>cru. I intend to keep writing at the end of the variable, but the cursor has moved to the start. Because I'm in insert mode the fix is not quite as simple as a W.

(Thanks for the great plugins!!)

eedrah avatar Oct 27 '17 22:10 eedrah