[vim] fix disabling autocommenting and use Source Code Pro in macvim
change
commit fb5cd87349d7334aa8a5bc29902b01b3a9e4b2fd
author Alpha Chen <alpha.chen@gmail.com>
date
parent 699f4bb4
diff --git a/.vimrc b/.vimrc
index 1887588b..9bb1b28b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -121,8 +121,8 @@ augroup netrw_buf_hidden_fix
         \| endif
 augroup end
 
-augroup AutoComment
-  autocmd FileType * setlocal formatoptions-=o
+augroup DisableAutoComment
+  autocmd BufEnter * setlocal formatoptions-=o
 augroup END
 
 " }}}
@@ -136,7 +136,7 @@ if has("gui_running")
   set macligatures
 end
 set guicursor+=a:blinkon0 " disable blinking
-set guifont=Source\ Code\ Pro\ for\ Powerline:h13
+set guifont=Source\ Code\ Pro:h13
 set guioptions-=T
 if has("mac") && !has("nvim")
   set macmeta