SECURECRT syntax highlighting when using VIM in SECURECRT

Source: Internet
Author: User

1. SecureCRT The syntax highlighting when using VIM in SECURECRT is not a function of SECURECRT, but a vim setting: Options->session options, Terminal Emulation in terminal select ANSI or Linux or xterm, you must hook up with the ANSI colour settings option-----terminal------terminal: Linux, when ANSI color is selected, The highlight is completed. 2. Create. Vimrc[[email protected] ~] #vi. Vimrc3. Configure the. vimrc file to add syntax On4. Save and re-connect SSH. Take care of The following is the extended content VI there are many personalized configurations that can be added in the. VIMRC to facilitate their own work the following is a basic configuration set Fenc=utf-8 "Set the default decoding set FENCS=UTF-8,USC-BOM,EUC-JP , gb18030,gbk,gb2312,cp936 set NOCP "or set nocompatible is used to turn off VI's compatibility mode set number" show line numbers set AI "or set autoindent Vim uses automatic alignment, That is, the alignment format of the current line is applied to the next line set Si "or set smartindent according to the above alignment format, smart selection alignment set tabstop=4" Set the TAB key to 4 spaces set sw=4 "or set shiftwidth settings when When rows are staggered, use 4 spaces set ruler "set in the edit process, in the lower right corner of the status line that displays the cursor position set Incsearch" set incremental search, such queries compare Smart Set Showmatch "highlighting matching parentheses set Matchtime =5 "Match bracket Highlight time (in 1/10 s) set ignorecase" Ignore case when searching syntax on "highlighting syntax

SECURECRT syntax highlighting when using VIM in SECURECRT

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.