mirror of
https://github.com/itme-brain/vim.git
synced 2026-05-08 07:30:13 -04:00
rg
This commit is contained in:
parent
7eef7a526d
commit
770106343d
2 changed files with 5 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
autoload
|
autoload
|
||||||
plugged
|
plugged
|
||||||
.netrwhist
|
.netrwhist
|
||||||
|
bin
|
||||||
|
|
|
||||||
4
vimrc
4
vimrc
|
|
@ -1,4 +1,8 @@
|
||||||
let data_dir = '~/.vim'
|
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'))
|
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'
|
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue