From fb5cd87349d7334aa8a5bc29902b01b3a9e4b2fd Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 31 Dec 2018 15:09:17 -0800 Subject: [PATCH] [vim] fix disabling autocommenting and use Source Code Pro in macvim --- .vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 1887588..9bb1b28 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