Go to file
Øystein Walle 5b150bda13 Handle that the comment marker can contain regex
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.
2015-09-10 00:55:15 +02:00
doc Initial commit 2012-03-20 18:31:37 +01:00
plugin Handle that the comment marker can contain regex 2015-09-10 00:55:15 +02:00
README.md Initial commit 2012-03-20 18:31:37 +01:00

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!