I created below mappings for delete/change inner word for "/" and "," and the mappings work just fine, however the side effect is that it makes the normal dd/cc commands slow, almost approx by 1 sec. Below are my mappins

noremap ci/ f/cT/ 
noremap di/ f/dT/ 

noremap ci, f,cT, 
noremap di, f,dT, 

And i kind of expected this because creating a mapping that starts with c/d which are already bound some other vim commands vim waits to check the key pressed after c/d. So what am i missing here, can this be fixed anyhow ?

  • You should probably check :h 'ttimeout', :h 'timeoutlen' and :h 'ttimeoutlen'
    – statox
    Aug 7, 2018 at 15:01
  • i tried setting the timeoutlen to 200, that decreases the delay for dd/cc but that breaks my custom mappings. Aug 7, 2018 at 15:25
  • Why noremap instead of nnoremap?
    – D. Ben Knoble
    Aug 7, 2018 at 21:16
  • @D.BenKnoble sorry about that, i guess that was just a mapping made in jiffy, but guess what it fixed that delay thing.. so thanks for bringing that to my attention. Aug 8, 2018 at 7:30

1 Answer 1


I changed the mapping from noremap to nnoremap and it worked for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.