系统相关
首页 > 系统相关> > 在Linux在的vim的~/.vimrc文件

在Linux在的vim的~/.vimrc文件

作者:互联网

set nocompatible
set encoding=utf-8
set fileencodings=utf-8,chinese
set tabstop=4
set cindent shiftwidth=4
set backspace=indent,eol,start
autocmd Filetype c set omnifunc=ccomplete#Complete
autocmd Filetype cpp set omnifunc=cppcomplete#Complete
set incsearch
set number
set display=lastline
set ignorecase
syntax on
set nobackup
set ruler
set showcmd
set smartindent
set hlsearch
set cmdheight=1
set laststatus=2
set shortmess=atI
set formatoptions=tcrqn
set autoindent

标签:autocmd,set,vimrc,Complete,Filetype,utf,vim,Linux,omnifunc
来源: https://blog.csdn.net/weixin_43338173/article/details/120382199