Source code with F7 key in vim!
Add the following to your .vimrc (or alternatively, if you use spf13 like myself) .vimrc.local to easily format your source code:
map <F7> mzgg=G`z<CR>
This will map source formatting to your F7 key.
Add the following to your .vimrc (or alternatively, if you use spf13 like myself) .vimrc.local to easily format your source code:
map <F7> mzgg=G`z<CR>
This will map source formatting to your F7 key.