Vim environment setting record

vim will take the initiative to have done the acts recorded, recorded in the file    ~ / the .viminfo , good for next job.

Change the / etc / vimrc configure the operating environment

vim environment setting parameters

: Not set

:set  nonu

Set and cancel the line number

:set hlsearch

:set  nohlsearch

hlsearch is the high light search (high-intensity search). The search string is to set the highlighted setting. The default value is hlsearch
:set  autoindent                                     :set  noautoindent Whether to automatically indent? Automatic indent is autoindent
: set  backup Whether to automatically store the backup file? Generally nobackup, if set backup, when you change any files, source files will be saved as a file filename ~
:set ruler Show or not show the bottom right corner of the status bar description
:set  showmode Do you want to display the status bar at the bottom left of --INSERT--
:set  backspace=(012) Generally after pressing i into edit mode, you can use the backspace key (Backspace) to remove any character. But some distrbution This is not allowed. At this point, we can be set through the backspace. 2 can delete any values, 0 or 1 can only delete the text just entered can not remove the already existing text.
:set  all Displays all current environmental parameter settings
:set

Displaying different system default parameter value set, in general, it is to have its own parameters change over the

:syntax on  Whether the relevant procedures in accordance with different syntaxes display different colors

:set bg=dark

:set bg=light

Display different shades of color

Guess you like

Origin www.cnblogs.com/sggggr/p/11992544.html