當前位置:編程學習大全網 - 電腦編程 - vim 如何配置web開發環境

vim 如何配置web開發環境

在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

  • 上一篇:mc2022四軸後處理怎麽改正反轉帶負角度
  • 下一篇:想成為辦公軟件高手
  • copyright 2024編程學習大全網