5b150bda13
In the case of e.g. C Double-tap will correctly detect * as a potential character a comment can start with. But * has special meaning in regular expressions and in the case of Vim will trigger an error if not used correctly. Protect what Double-tap find by surrounding it in \V...\m. Thanks to @utrack for the idea. Fixes #5. |
||
---|---|---|
doc | ||
plugin | ||
README.md |
Double-tap
Øystein Walle oystwa@gmail.com
From time to time people ask on #vim
on Freenode how they can disable
automatic insertion of comments when they open a new line. I think this is often
very handy when you're writing a longer, multi-line comment. How do we get the
best of both worlds? Double-tap!