PRODUCTS > CRT > FAQ
Send us a question or comment

Related Links

CRT Home

Download


<< Previous
Next >>

How can I get syntax highlighting to work in Vim with CRT/SecureCRT?

The most common issue in getting syntax highlighting to work is emulation.

In general, vt220 emulation should work well with most systems for Vim with Syntax highlighting.

Under a Linux system, use the Linux emulation for best results.

Regardless of emulation, you must enable "ANSI color" in your Emulation options for syntax highlighting to work properly.

On many systems, you will also need to make the following changes/additions to your ~/.vimrc file:

set t_Co=8
set t_Sf=\033[3%p1%dm
set t_Sb=\033[4%p1%dm
syntax on

These settings assume that syntax highlighting was enabled at install-time for the version of VIM you are using.

<< Previous
Next >>

1.  Read or download one of our secure solutions white papers. 2.  Download a free
30-day evaluation copy of our products.
3.  Let us help define the right Secure Shell solution for your company. 4.  Subscribe to our What's New page for tips, solution ideas, and product news.