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

Making escape work to cancel exchange

Open asmodeus812 opened this issue 2 years ago • 1 comments

Hi, great plugin, a nice replacement for the vim script alternatives. I was wondering if it could be made to respect esc when the exchange is initiated. I.e after the first cx[motion], instead of going off with cxc, to cancel to use . Something similar to how nvim surround works, which is also in a way a two step process (sometimes, depends on the action, but the idea is the same). Or I imagine something like a buffer local variable could be set to allow you to know if you are in the exchange state.

asmodeus812 avatar Aug 12 '22 04:08 asmodeus812

That is invalid

asmodeus812 avatar Aug 12 '22 04:08 asmodeus812