gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
740 stars 59 forks source link

Todo - [ ] pattern toggle with spacebar lags #76

Open mchastainfm opened 5 years ago

mchastainfm commented 5 years ago

For a while now the - [] to - [x] or - pattern has had a pretty marked delay. I was wondering if anybody else had seen this or if there were some good ways for me to troubleshoot why this might be occurring. Thanks for any help

Shados commented 5 years ago

If you have any other mappings that start with a space, vim will wait for a brief period for further entry (because you may be about to type the longer mapping), and only after that wait will it proceed. If you do not want to change your other mappings, you can short-circuit this behaviour by following the 'space' keypress with an immediate 'Escape' keypress.

umamiMike commented 5 years ago

I don't know why I was not notified of this message...My vimrc was a mess. Once I got it sorted the problem went away, I think you are correct about the problem. Thanks