General documentation / cheat sheets for various languages and services

Misc vim commands

Delete all comments (useful for verbose default configuration files, like nginx.conf):

:g/^\s*#/d

Delete all empty lines:

:g/^\s*\n/d