首页 > 代码库 > vim编辑格式与环境设置

vim编辑格式与环境设置

 1 set wildmenu 2 set backspace=2 3  4 set pastetoggle=<f3> 5  6 filetype on 7 filetype plugin on 8 filetype indent on 9 10 set encoding=utf-811 set fileencoding=utf-812 set fileencodings=utf-8,gbk13 set termencoding=utf-814 set ambiwidth=double15 16 set nobackup17 18 nnoremap <Down> gj19 nnoremap <Up> gk20 21 syntax on22 23 set hlsearch24 set incsearch25 set showcmd26 set nocompatible27 28 set ts=429 set sw=430 set encoding=utf-831 set fileencoding=prc32 set autoindent33 34 if has("gui_running")35     ;36 else37     colorscheme desert38 endif

 

vim编辑格式与环境设置