Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rather than relying on syntax tricks, I'm sure most editors allow for block commenting or comment inversion.

For example with NERD Commentor vim plugin, you can toggle block comments with `<leader>c<space>`. Inverting comments is `<leader>ci`.

https://github.com/scrooloose/nerdcommenter



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: