aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-10-19 23:59:57 +0200
committerDuncaen <mail@duncano.de>2017-10-19 23:59:57 +0200
commit4b38782e298e772c0870917e33be122829c5b108 (patch)
tree65c27f5360f60bdb826ddab4931815b02a730c1c
parent993db7e4a0db0a5ef1e56cf046da2524db3969c1 (diff)
downloaddotfiles-4b38782e298e772c0870917e33be122829c5b108.tar.gz
vim: cleanup plugins
-rw-r--r--vimrc12
1 files changed, 3 insertions, 9 deletions
diff --git a/vimrc b/vimrc
index aad7894..403bad4 100644
--- a/vimrc
+++ b/vimrc
@@ -1,26 +1,20 @@
set nocompatible
filetype off
-silent! if plug#begin('~/.vim/plugged')
+sil! if plug#begin('~/.vim/plugged')
-if v:version >= 800
+if v:version >= 800 && (has('python') || has('python3'))
Plug 'maralla/completor.vim'
endif
" Navigation
Plug 'ctrlpvim/ctrlp.vim', { 'on': '<plug>(ctrlp)' }
-Plug 'bling/vim-bufferline'
+" Plug 'bling/vim-bufferline'
" Editing
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
-" Languages
-if hostname() != "pi"
- Plug 'fatih/vim-go', { 'for': ['go'] }
- Plug 'python-rope/ropevim', { 'for': ['python'], 'do': 'python2 setup.py install --user && python3 setup.py install --user' }
-endif
-
call plug#end()
endif