close
http://blog.roga.tw/2010/01/%E6%88%91%E7%9B%AE%E5%89%8D%E4%BD%BF%E7%94%A8%E7%9A%84-vimrc-%E8%A8%AD%E5%AE%9A%E6%AA%94/
1 " File encoding
2 set encoding=utf-8
3 set fileencodings=utf-8,cp950
4
5 " Edit preference
6 syntax on
7 set nocompatible
8 "set ai
9 set shiftwidth=2
10 set tabstop=4
11 set softtabstop=4
12 "set expandtab "space to replace tab
13
14 set ruler
15 set backspace=2
16 set ic
17 set ru
18 set hlsearch
19 set incsearch
20 set smartindent
21 set confirm
22 set history=100
23 set cursorline
24
25 set laststatus=2
26 set statusline=%4*% 27
28 colorscheme torte
29 set number
~
全站熱搜
留言列表