I've been using VI for a few years, I think about 20 years, still XCO Unix and Xenix, but I never took the initiative to make my environment totally parameterized to programming in languages like C / C ++, PHP and Java .
I would like to prepare my VI to be successful in using these languages, I still have situations that need to connect to remote servers and recompile programs, so it is necessary to edit the files urgently and VI is the best choice for me.
How can I configure it to autocomplete and format the files in a standard way for each language?