Vim
Emmet
Emmet uses the ,
key. Press twice for templates. Double comma completes html:5 or h1 or p, etc…
Macros
qa
records a macro at@a
.- To stop recording press
q
again. - To add to
.vimrc
:"qa
pastes the macro.
Apply command to whole file
:%! cmd %s