A vim configuration

# Is not compatible with vi
 the SET nocompatible
# Syntax Highlighting
syntax on
The bottom displays the current mode #
set showmode
# Display type the command
set showcmd
# Support Mouse
set mouse=a
# Using utf8 encoding
set encoding=utf-8
# Enable 256 colors
set t_Co=256
# Auto-indent, consistent with the previous line
set autoindent
#tab number of spaces
set ts=4
# Show line numbers
set number
# Highlight the current line
set cursorline
# Whether to display the status bar, 0 - no show, 1 - Only when the multi-window display, 2 - always display
 the SET laststatus = 2
# Display the current cursor position
set ruler

 

Guess you like

Origin www.cnblogs.com/mc-r/p/12440552.html