diff --git a/.gitignore b/.gitignore index b6a61f0..4639fe0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ autoload plugged .netrwhist +bin diff --git a/vimrc b/vimrc index 3c6448d..7731885 100644 --- a/vimrc +++ b/vimrc @@ -1,4 +1,8 @@ let data_dir = '~/.vim' +if executable(expand('~/.vim/bin/rg')) + let $PATH = expand('~/.vim/bin') . ':' . $PATH +endif + if empty(glob(data_dir . '/autoload/plug.vim')) silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' endif