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

Coercing too quickly?

Open jamesamcl opened this issue 12 years ago • 3 comments

First of all, this plugin has been an absolute life saver in my conversion of a large, CamelCase C++ project to snake_case C, so thank you very much indeed.

I've just got one weird problem with coerce - if I type crs very quickly, vim ends up substituting the current character instead (as if I'd just typed s). If I type c r s slowly, it works as expected.

I'm using MacVim 7.3, with your abolish, unimpaired and repeat plugins.

jamesamcl avatar Jan 14 '13 15:01 jamesamcl

That's the opposite of what I would expect to happen. Check :nmap c and see if anything surprising is in there.

tpope avatar Jan 14 '13 17:01 tpope

It just says:

n  cr     <Plug>Coerce

jamesamcl avatar Jan 14 '13 18:01 jamesamcl

First thing that jumps to mind is to check the values of 'timeout', 'ttimeout', 'timeoutlen', and 'ttimeoutlen'; couldn't hurt to also read the :help on those subjects to see if you can work out what's going on.

qstrahl avatar May 16 '13 14:05 qstrahl