Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get colors using Mac OS X terminal when editing source code in remote linux machines

Tags:

vim

macos

I use terminal from Mac OS X Leopard to connect to remote Linux machines and edit C++ code there using VI.

What determines that in some machines, using the same MACOSX terminal settings, the source code gets colorized and in other not?

Thanks

like image 674
Open the way Avatar asked Feb 27 '23 10:02

Open the way


1 Answers

Have you used :syntax enable in vim on the remote machine? Just asking, since on the ones that are working it could be in .vimrc or similar.

like image 75
Ramashalanka Avatar answered Apr 29 '23 06:04

Ramashalanka