From 2286feae09e4f622c3bd424288b203e1bd1d1da7 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Fri, 11 Nov 2016 15:45:21 -0800 Subject: [PATCH] [vim] clean up vimrc --- .vimrc | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.vimrc b/.vimrc index 5926d1b..4e2e409 100644 --- a/.vimrc +++ b/.vimrc @@ -194,7 +194,7 @@ python del powerline_setup nnoremap a :A " rust.vim -let g:rustfmt_autosave = 1 +" let g:rustfmt_autosave = 1 " vim-markdown let g:markdown_fenced_languages = ['ruby'] @@ -204,11 +204,6 @@ if !empty($GOPATH) packadd vim-go endif -" gui stuff -set guioptions-=T -set guifont=Consolas:h9:cANSI -set mousehide - " Expand %% into the directory of the current file cnoremap %% getcmdtype() == ':' ? expand('%:h').'/' : '%%' @@ -222,19 +217,15 @@ endif nnoremap d :Dispatch if has("gui_running") - " au GUIEnter * simalt ~x " fullscreen - " set transparency=10 - set macmeta set background=light set guifont=Source\ Code\ Pro\ for\ Powerline:h13 + set guioptions-=T set macligatures -" else - " fix Command-T's selection in Terminal.app - " hi Visual term=reverse cterm=reverse ctermfg=187 ctermbg=235 guifg=Black guibg=Yellow + set macmeta + set mousehide end if v:version >= 703 - " set relativenumber set undofile set undodir=$HOME/.vim_undo// endif