Reply to comment

vim color syntax highlighting over PuTTY ?

I have been hunting through many forums for many hours on a way to get vim color syntax highlighting to work via PuTTY for shell scripts. the "set sytax enable" setting is in ~/.vimrc and locally on the CentOS system, color sytax works perfectly. However, when I connect to the system via PuTTY, although ls commands will show colors as defined in /etc/DIR_COLORS.xterm, if i edit a script in vim, there is never any color highlighting. Please can someone show me how to make the color syntax highlighting work in a PuTTY session running vim ??


Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options