diff --git a/.vim/options.vim b/.vim/options.vim index 2168911..b5ed403 100644 --- a/.vim/options.vim +++ b/.vim/options.vim @@ -38,7 +38,6 @@ set wrapmargin=1 if has('gui_running') set columns=150 set cursorline - set guifont=Terminus\ 12 set guioptions-=L set guioptions-=R set guioptions-=T @@ -46,6 +45,10 @@ if has('gui_running') set guioptions-=m set guioptions-=r set lines=50 + + if has('unix') + set guifont=Terminus\ 12 + endif endif if &shell =~ 'bin/fish' diff --git a/.vim/plugins.vim b/.vim/plugins.vim index 3ddf96a..f5f4929 100644 --- a/.vim/plugins.vim +++ b/.vim/plugins.vim @@ -29,6 +29,11 @@ Plug 'https://github.com/tpope/vim-surround' Plug 'https://github.com/tpope/vim-unimpaired.git' Plug 'https://github.com/vim-latex/vim-latex.git' +if has('linux') + Plug 'https://github.com/Valloric/YouCompleteMe.git', { 'do': './install.sh --clang-completer' } + Plug 'https://github.com/marijnh/tern_for_vim', { 'do': 'npm install' } +endif + call plug#end() " ctrlp.vim