vim 如何配置web开发环境???

慕仙1767075
浏览 1641回答 1
1回答

雪莉酱

在home目录下建立.vimrc文件,这是Vim的主配置文件。在这个文件中加入如下配置。"Basic settings 2 set tabstop=2 3 set shiftwidth=2 4 set backspace=2 5 set autoindent 6 set nocompatible 7 syntax on 8 set hlsearch 9 set number10 set ruler11 set showcmd12 set showmatch13 set wrap14 set hidden  " Keep the unsaved changes in the buffer when you switch to another file15 set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1 " file encoding16 filetype plugin indent on
打开App,查看更多内容
随时随地看视频慕课网APP