vim配置(编辑~/.vimrc文件)
主要配置如下
set number
set nocompatible
syntax on
set showmode
set encoding=utf-8
filetype indent on
set autoindent
set tabstop=4
set shiftwidth=4
set expandtab
set showmatch
set hlsearch
set incsearch
set smartcase
set nobackup
set noswapfile
set noundofile
set history=1000
set autoread