Easy VIM configuration under Noilinux

Source: Internet
Author: User

Location:/ETC/VIM/VIMRC

It is recommended to use Gedit for configuration. Even with the command: sudo gedit/etc/vim/vimrc

Set Mouse=a"Enable Mouse usage (all modes) set confirm"? Should be deleted for questioning to determine"Indent Lattice set tabstop=4Set shiftwidth=4Set Smarttab"Smart Indent Set Smartindent"Smart IndentColor Desert"Color Style Set Nu" display line number set ruler  " row ruler set hlsearchset incsearch  " Upstream and the row are search highlighting with set cursorline  " row highlight set nobackup  " Cancel automatic backup set Autoread  " Auto read is more that file map <F9> <esc>:w<cr>:!g++%-o%<-wall-dlocal && ./%< <CR >  "F9 compile and run IMAP <F9> <esc>:w<cr>:!g++%-o%<-wall-dlocal && ./%< <cr>     span>             

At the same time using the map operation extrapolate you can configure a key to open the gedit instructions, so it is likely to be convenient to copy and paste cut.

Note: This article reproduces the big Guy Ajcxsu's blog: http://www.cnblogs.com/acxblog/p/7497310.html

Easy VIM configuration under Noilinux

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.