TE1ch0st 3 年之前
當前提交
56bc4e3864
共有 1 個文件被更改,包括 34 次插入0 次删除
  1. 34 0
      vimrc

+ 34 - 0
vimrc

@@ -0,0 +1,34 @@
+set expandtab
+set smarttab
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+set number
+set foldcolumn=2
+syntax on
+set noerrorbells
+set novisualbell
+set ignorecase
+set smartcase
+set hlsearch
+colorscheme darkblue
+
+" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by
+" the call to :runtime you can find below.  If you wish to change any of those
+" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
+" will be overwritten everytime an upgrade of the vim packages is performed.
+" It is recommended to make changes after sourcing debian.vim since it alters
+" the value of the 'compatible' option.
+
+runtime! debian.vim
+
+" line enables syntax highlighting by default.
+if has("syntax")
+  syntax on
+endif
+
+" Source a global configuration file if available
+if filereadable("/etc/vim/vimrc.local")
+  source /etc/vim/vimrc.local
+endif
+