如有錯誤,麻煩纠正;
這是在 debian 環境下,ubuntu 可能可以;
這會讓全部用户帳户都可以享受差件。
1: 從 github 下載 vimerl
2: 改 Vim 参數在 /etc/vim/vimrc
拿掉注解符号 syntax on
......
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
......
拿掉三行注解符号
if has("autocmd")
filetype plugin indent on
endif
..........
" Uncomment the following to have Vim load indentation rules and plugins
" according to the detected filetype.
if has("autocmd")
filetype plugin indent on
endif
..............
3:解壓縮 vimerl,共有 indent,compiler,test,autoload,ftplugin,syntax 6個檔案夹,
然候把各有關檔案放入 /usr/share/vim/vim72 各有關檔案夹。