Vim's work-characteristic customization

Source: Internet
Author: User

Vim's work-characteristic customization

Extended mode: Current VIM process is valid
Change profile: Permanently valid
Global:/ETC/VIMRC
Personal: ~/.VIMRC (can be created on its own without this file)
1, line number
Set Nu:set number Displays line numbers
Set Nonu:set nonumber Cancel display
2, Auto Indent
Set AI: Enable
Set Noai: Disable
3, search highlighting
Set Hlsearch: Enabled
Set Nohlsearch: Disable
4, syntax highlighting
Syntax on: Enable
Syntax off: Disabled
5, ignoring the case of characters
Set IC: Ignore
Set Noic: Do not ignore
6, pairs of parentheses match
Set Sm:set Showmatch Enabled
Set Nosm:set noshowmatch Disabled
7, file format
Set Fileformat=unix file format to UNIX format
Set Fileformat=dos file format to DOS format
8, set text width (only for vim)
Default width of 80 characters
: Set textwidth=65 Sets the left width
: Set Wrapmargin=15 to the right width
9, Set tab width
Set TS (tabstop) =#

This article is from the "Love Firewall" blog, be sure to keep this source http://183530300.blog.51cto.com/894387/1836133

Vim's work-characteristic customization

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: info-contact@alibabacloud.com 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.