vimrc

 1 set nocp
 2
 3 set nu
 4
 5 set fileencodings=ucs-bom,utf-8,gbk,default,latin1
 6
 7 set helplang=cn
 8
 9 " Enable syntax highlight
10 syntax on
11
12 " show matching bracets
13 set showmatch
14
15 " Basic editing options
16 set expandtab
17 set shiftwidth=4
18 set tabstop=4
19 " Wrap lines
20 set wrap
21
22 " Sets how many lines of history VIM har to remember
23 set history=400
24
25 " Set to auto read when a file is changed from the outside
26 set autoread
27
28 " Do not redraw, when running macros.. lazyredraw
29 set lz
30
31 " set 7 lines to the curors - when moving vertical..
32 set so=7
33
34 " The commandbar is 2 high
35 set cmdheight=2
36
37 " Change buffer - without saving
38 set hid
39
40 " Ignore case when searching
41 " set ignorecase
42 set incsearch
43
44 " Set magic on
45 set magic
46
47 " No sound on errors.
48 set noerrorbells
49 set novisualbell
50 set t_vb=
51
52 " How many tenths of a second to blink
53 set mat=4
54
55 " Highlight search things
56 set hlsearch
57
58 " Turn backup off
59 set nobackup
60 set nowb
61 set noswapfile
62
63 " smart backspace
64 set backspace=start,indent,eol
65
66 " switch buffers with Tab
67 map <C-Tab> :bn<CR>
68 map <S-Tab> :bp<CR>
69
70 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
71 " => Plugin configuration
72 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
73 " taglist
74 let Tlist_Auto_Highlight_Tag = 1
75 let Tlist_Auto_Open = 1
76 let Tlist_Auto_Update = 1
77 let Tlist_Close_On_Select = 0
78 let Tlist_Compact_Format = 0
79 let Tlist_Display_Prototype = 0
80 let Tlist_Display_Tag_Scope = 1
81 let Tlist_Enable_Fold_Column = 0
82 let Tlist_Exit_OnlyWindow = 0
83 let Tlist_File_Fold_Auto_Close = 0
84 let Tlist_GainFocus_On_ToggleOpen = 1
85 let Tlist_Hightlight_Tag_On_BufEnter = 1
86 let Tlist_Inc_Winwidth = 0
87 let Tlist_Max_Submenu_Items = 1
88 let Tlist_Max_Tag_Length = 30
89 let Tlist_Process_File_Always = 0
90 let Tlist_Show_Menu = 0
91 let Tlist_Show_One_File = 0
92 let Tlist_Sort_Type = "order"
93 let Tlist_Use_Horiz_Window = 0
94 let Tlist_Use_Right_Window = 1
95 let Tlist_WinWidth = 40
96 let tlist_php_settings = 'php;c:class;i:interfaces;d:constant;f:function'
97
98 colorscheme desert
posted @ 2013-10-31 16:30  阿炎  阅读(183)  评论(0编辑  收藏  举报