.vimrc

branch
mhoward-lt
changeset 76
6dbcadb01380
parent 75
2b4633385693
child 81
e8d13171bd0f
equal deleted inserted replaced
70:431128b5fa0c 76:6dbcadb01380
175 endif 175 endif
176 if !filewritable( $MYVIM . '/var/undo' ) 176 if !filewritable( $MYVIM . '/var/undo' )
177 silent execute '!mkdir "'.$HOME.'\vimfiles\var\undo"' 177 silent execute '!mkdir "'.$HOME.'\vimfiles\var\undo"'
178 endif 178 endif
179 179
180 set guifont=Consolas:h11
181 set guioptions-=t "just disable tearoffs
182 else 180 else
183 let $MYVIM=$HOME.'/.vim' 181 let $MYVIM=$HOME.'/.vim'
184 182
185 if !filewritable( $MYVIM . '/var/backup' ) 183 if !filewritable( $MYVIM . '/var/backup' )
186 silent execute '!mkdir -p "'.$MYVIM.'/var/backup"' 184 silent execute '!mkdir -p "'.$MYVIM.'/var/backup"'
190 endif 188 endif
191 if !filewritable( $MYVIM . '/var/undo' ) 189 if !filewritable( $MYVIM . '/var/undo' )
192 silent execute '!mkdir "'.$MYVIM.'/var/undo"' 190 silent execute '!mkdir "'.$MYVIM.'/var/undo"'
193 endif 191 endif
194 192
195 set guifont=Droid\ Sans\ Mono\ Slashed\ 10 193 endif
196 set guioptions-=T " disable toolbar and menu 194
197 set guioptions-=m 195 if on_windows == 1
198 endif 196 set guifont=DejaVu_Sans_Mono:h10:cDEFAULT
197 set lsp=0
198 else
199 set guifont=DejaVu\ Sans\ Mono\ 10
200 endif
201
202 set guioptions-=T "disable toolbar and menu
203 set guioptions-=m
204 set guioptions-=t "disable tearoffs
199 205
200 set backupdir=$MYVIM/var/backup//,. 206 set backupdir=$MYVIM/var/backup//,.
201 set directory=$MYVIM/var/tmp//,. 207 set directory=$MYVIM/var/tmp//,.
202 208
203 set backup 209 set backup

mercurial