Personal Vim configuration (. vimrc file sharing)

Source: Internet
Author: User
Tags clear screen
Syntax enablesyntax oncolorscheme desertset Nu! Set nowrapset nobackupset backspace = 2 set tabstop = 4 set encoding = utf-8set linebreakset rulerset guioptions + = bfiletype plugin indent onset guifont = monospace \ 12 "Run Vim in the terminal window, the terminal's font setting is higher than Vim's font setting. If gvim is used, it is a new GUI window, And the displayed font will match your expectations, gvim also reads the vimrc file. If your font is set to vimrc and there is no gvimrc file, gvim also correctly displays the set shiftwidth = 4 set autoindentset hlsearchset incsearchnmap <F2>: noh <CR> imap <F2> <ESC> <F2> A ": Set f2 to clear screen highlighting, the preceding two rows define source $ vimruntime/delmenu in insert and command modes respectively. vimsource $ vimruntime/menu. vim "automatically adds the author information let G: vimrc_author = 'hangyang' Let G: vimrc_email = '[email protected] 'let G: vimrc_homepage = 'HTTP: // response <F4>: authorinfodetect <CR>

Reference: (find the link to complete)

Add a configuration process and write it in MD.

Personal Vim configuration (. vimrc file sharing)

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.