"顯示行號 set number "設置標尺 set ruler "突出顯示輸入的命令 set showcmd "突出顯示當前號 set cursorline "設置不自動換行 set nowrap "開啓語法高亮 syntax enable syntax on "設置縮進 set autoindent "四個空格代替一個 tab set tabstop=4 set shiftwidth=4 set softtabstop=4 "文件摺疊 set foldenable set foldmethod=manual set foldmethod=indent set foldmethod=syntax "設置匹配 set showmatch "設置退格 set backspace=indent,eol,start "用空格鍵替換製表符 set expandtab "高亮搜索 set hlsearch "檢測文件類型 filetype on filetype plugin on filetype indent on "設置編碼 set fenc=utf-8 set encoding=utf-8 set fileencodings=utf-8 "解決consle輸出亂碼 language messages zh_CN.utf-8
Vim 配置 工欲善其事,必先利其器
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.