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 |
180 set guifont=Consolas:h11 |
181 set guioptions-=t |
181 set guioptions-=t "just disable tearoffs |
182 else |
182 else |
183 let $MYVIM=$HOME.'/.vim' |
183 let $MYVIM=$HOME.'/.vim' |
184 |
184 |
185 if !filewritable( $MYVIM . '/var/backup' ) |
185 if !filewritable( $MYVIM . '/var/backup' ) |
186 silent execute '!mkdir -p "'.$MYVIM.'/var/backup"' |
186 silent execute '!mkdir -p "'.$MYVIM.'/var/backup"' |
191 if !filewritable( $MYVIM . '/var/undo' ) |
191 if !filewritable( $MYVIM . '/var/undo' ) |
192 silent execute '!mkdir "'.$MYVIM.'/var/undo"' |
192 silent execute '!mkdir "'.$MYVIM.'/var/undo"' |
193 endif |
193 endif |
194 |
194 |
195 set guifont=Droid\ Sans\ Mono\ Slashed\ 10 |
195 set guifont=Droid\ Sans\ Mono\ Slashed\ 10 |
|
196 set guioptions-=T " disable toolbar and menu |
|
197 set guioptions-=m |
196 endif |
198 endif |
197 |
199 |
198 set backupdir=$MYVIM/var/backup//,. |
200 set backupdir=$MYVIM/var/backup//,. |
199 set directory=$MYVIM/var/tmp//,. |
201 set directory=$MYVIM/var/tmp//,. |
200 |
202 |