Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Comments are programmer-readable annotations in source code which are ignored by the parser.
19
votes
Accepted
How to comment in Vim?
Because "commenting out" is context-dependent, the behavior is left to plugins rather than the core Vim editor.
Many plugins reuse the sequence gc to comment.
vim-commentary (authored by the prolific …
2
votes
Don't auto-extend c/c++ trailing comments
One consideration is that 'cindent' has additional options
for context based indenting of comments but cannot replicate many three piece
indent alignments. … However, 'indentexpr' has the ability to work better with
three piece comments. …
2
votes
Accepted
How to comment html in php file in vim?
I believe your file type is php and your commentstring is /*%s*/ which is reasonable for php files.
To solve your problem you could temporarily change commentstring to<!--%s-->:
set commentstring='<!- …