From 2d0d701bcbc7a16c6abc567fc57af46d01383db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 24 Sep 2016 15:39:40 +0200 Subject: [PATCH] added ripgrep --- .vimrc.common.epilogue | 5 ++++- common/configure_fresh_system | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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