summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-06-18 14:56:37 -0700
committerBen Sima <ben@bsima.me>2020-06-18 14:56:37 -0700
commit9128ee40ec77b5df0ac0ba38254098b2d653327e (patch)
tree394ec933b21943431afb78a9a6571d3e4ba27652 /lib
parent38889ddd9be18a420f541f1df19b099aa8e1958e (diff)
vim: plugins
Diffstat (limited to 'lib')
-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
"