diff --git a/vimrc b/vimrc index af4ce0a..742bf1b 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,8 @@ +"--------------------------------------------------------------------------- +" System variables +"--------------------------------------------------------------------------- +let hostname = substitute(system('hostname'), '\n', '', '') + "--------------------------------------------------------------------------- " Vundle/Plugins installation "--------------------------------------------------------------------------- @@ -28,7 +33,9 @@ Plugin 'majutsushi/tagbar' " Tabular Plugin 'godlygeek/tabular' " YouCompleteMe -Plugin 'Valloric/YouCompleteMe' +if hostname !~ 'beaker' " Disable this on the cluster. + Plugin 'Valloric/YouCompleteMe' +endif " Syntastic Plugin 'scrooloose/syntastic' " Vim-Snippets