diff options
author | Ben Sima <ben@bsima.me> | 2020-06-18 14:56:37 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-06-18 14:56:37 -0700 |
commit | 9128ee40ec77b5df0ac0ba38254098b2d653327e (patch) | |
tree | 394ec933b21943431afb78a9a6571d3e4ba27652 | |
parent | 38889ddd9be18a420f541f1df19b099aa8e1958e (diff) |
vim: plugins
-rw-r--r-- | lib/vimrc | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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 " |