Vim Code format and syntax highlight

I’m mostly working on remove servers using console text editors.

My favorite is vim and I love the syntax highlighting feature.
(Quick tip:
vim /etc/vim/vimrc
add the following lines:
if has(“syntax”)
syntax on
endif

)

One other usefull feature I adore is the code formatter feature:
Just type [esc] =G and vim will format the code automatically for you!

Share