Same guioptions on w32 and unix, and guifont

Tue, 17 Jun 2014 16:46:03 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jun 2014 16:46:03 -0400
changeset 72
d1ae56d8fdc4
parent 71
0be1b725711a
child 73
30dc5c43f068

Same guioptions on w32 and unix, and guifont

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -177,8 +177,6 @@ if on_windows == 1
     silent execute '!mkdir "'.$HOME.'\vimfiles\var\undo"'
   endif
 
-  set guifont=Consolas:h11
-  set guioptions-=t    "just disable tearoffs
 else
   let $MYVIM=$HOME.'/.vim'
 
@@ -192,11 +190,13 @@ else
     silent execute '!mkdir "'.$MYVIM.'/var/undo"'
   endif
 
-  set guifont=Droid\ Sans\ Mono\ Slashed\ 10
-  set guioptions-=T     " disable toolbar and menu
-  set guioptions-=m
 endif
 
+set guifont=Droid\ Sans\ Mono\ Slashed\ 10
+set guioptions-=T    "disable toolbar and menu
+set guioptions-=m
+set guioptions-=t    "disable tearoffs
+
 set backupdir=$MYVIM/var/backup//,.
 set directory=$MYVIM/var/tmp//,.
 

mercurial