summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vimrc17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/vimrc b/lib/vimrc
index 2a23621..9496a24 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -108,14 +108,15 @@ function! <SID>SynStack()
endfunc
""" Plugins with vim-plug
-" 2019.06.11: disabling b/c I'd rather just use nix/home-manager for vim
-" plugins, but this is nice code to have for reference too
-"if empty(glob('~/.vim/autoload/plug.vim'))
-" silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
-" \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-" autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
-"endif
-"so ~/.vim/plugins.vim
+""" only use this for stuff not available in nix/home-manager
+if empty(glob('~/.vim/autoload/plug.vim'))
+ silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
+ \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+ autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
+endif
+call plug#begin('~/.vim/plugged')
+Plug 'urbit/hoon.vim'
+call plug#end()
" Vim color scheme, modified from Xavier's below
"