diff --git a/.vimrc.common.epilogue b/.vimrc.common.epilogue index 964640cf..ca7a78ab 100644 --- a/.vimrc.common.epilogue +++ b/.vimrc.common.epilogue @@ -19,11 +19,14 @@ let g:airline#extensions#tabline#enabled = 1 " plugins: rust let g:rustfmt_autosave = 1 -" plugins: ag/ack if executable('ag') let g:ackprg = 'ag --vimgrep' endif +if executable('rg') + let g:ackprg = 'rg --no-heading --vimgrep' +endif + " appearance set number set relativenumber diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 57b40d82..86bbb68f 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -101,6 +101,7 @@ if [[ -z $NORUST ]]; then cargo install -j $jobs_count -f rustfmt cargo install -j $jobs_count -f racer cargo install -j $jobs_count -f rustsym + cargo install -j $jobs_count -f ripgrep fi if [[ -z $NORUBY ]]; then