.vimrc

changeset 602
2f9ceb002f74
parent 601
c1615fda063a
child 603
ae87c045d04b
equal deleted inserted replaced
601:c1615fda063a 602:2f9ceb002f74
138 set listchars=tab:⇥·,trail:◼,nbsp:◻ 138 set listchars=tab:⇥·,trail:◼,nbsp:◻
139 " eol:↩ not as useful as trail i think 139 " eol:↩ not as useful as trail i think
140 set fillchars=fold:∷,vert:│ 140 set fillchars=fold:∷,vert:│
141 endif 141 endif
142 142
143 set linebreak
144 set showbreak=»\
143 if exists('&breakindent') 145 if exists('&breakindent')
144 set bri 146 set bri
145 set briopt+=sbr 147 set briopt+=sbr
146 endif 148 endif
147 149
156 set backspace=indent,eol,start 158 set backspace=indent,eol,start
157 159
158 set splitright splitbelow 160 set splitright splitbelow
159 set scrolloff=15 161 set scrolloff=15
160 set sidescrolloff=10 162 set sidescrolloff=10
161 set ruler 163 set laststatus=2
162 set noshowmode 164 set noshowmode
163 set showcmd 165 set showcmd
164 set wildmenu 166 set wildmenu
165 set wildignorecase 167 set wildignorecase
166 168
169 set autowriteall
170
167 set ttimeout 171 set ttimeout
168 set ttimeoutlen=200 172 set ttimeoutlen=200
173
174 set synmaxcol=200
169 175
170 set tags+=.tags 176 set tags+=.tags
171 177
172 " Ignore compiled files and repositories 178 " Ignore compiled files and repositories
173 set wildignore=*.o,*~,*.pyc 179 set wildignore=*.o,*~,*.pyc
175 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store 181 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
176 else 182 else
177 set wildignore+=.git\*,.hg\*,.svn\* 183 set wildignore+=.git\*,.hg\*,.svn\*
178 endif 184 endif
179 185
186 " Don't assume to scan includes when autocompleting
187 set complete-=i
188
189 " Never open with folds collapsed
190 set nofoldenable
191
192 " keep the junk out (imo)
193 set sessionoptions=buffers,curdir,localoptions
194
180 " Enable enhanced % matching in ruby 195 " Enable enhanced % matching in ruby
181 runtime macros/matchit.vim 196 runtime macros/matchit.vim
182
183 " Don't assume to scan includes when autocompleting
184 set complete-=i
185
186 " Never open with folds collapsed
187 set nofoldenable
188
189 set linebreak
190 set showbreak=»\
191
192 " keep the junk out (imo)
193 set sessionoptions=buffers,curdir,localoptions
194
195 " Superseded by vim-airline
196 "set statusline=%f%m%r%h%w\ %y\ %=%l,%c\ %p%%\ %L
197 set laststatus=2
198 197
199 if g:on_windows 198 if g:on_windows
200 let $MYVIM=$HOME.'/vimfiles' 199 let $MYVIM=$HOME.'/vimfiles'
201 200
202 if !filewritable( $MYVIM . '/var' ) 201 if !filewritable( $MYVIM . '/var' )

mercurial