wiki:wade/vi
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

Version 4 (modified by wade, 13 years ago) (diff)

--

Setting

  • set autoindent 開啟自動縮排
  • set shiftwidth=4 自動縮排 4 空格
  • set softtabstop=4 shiftwidth 和 tabstop 盡量一致
  • set nu 顯示行數
  • set hls 高亮度反白顯示搜尋結果
  • " 註解用

Example

set nocompatible
set hls
colorschem torte
"set tabstop=4
set softtabstop=4
set shiftwidth=