summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 04:01:05 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 04:02:46 +0100
commitf9840f1f9b4d5303fb0134d2012d57673a9107f5 (patch)
treeb68c77a7ab7cd221600c0a71c9390c26d1bf41b0
parent2a1d17cc3dab5fabd0d82be5fe76149e47bdcbb7 (diff)
downloadvimrc-f9840f1f9b4d5303fb0134d2012d57673a9107f5.tar.gz
vimrc-f9840f1f9b4d5303fb0134d2012d57673a9107f5.tar.bz2
vimrc-f9840f1f9b4d5303fb0134d2012d57673a9107f5.zip
Use ripgrep
-rw-r--r--dotvimrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/dotvimrc b/dotvimrc
index 85d7bf4..ac70669 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -12,7 +12,8 @@ set tw=0
set backspace=eol,indent,start
set number
"set mouse=a "Disabled
-set grepprg=grep\ -nH\ $*
+"set grepprg=grep\ -nH\ $*
+set grepprg=rg\ --vimgrep\ $*
let g:tex_flavor = "latex"
setglobal formatoptions+=j
@@ -66,9 +67,10 @@ NeoBundleFetch 'Shougo/neobundle.vim'
"NeoBundle 'elixir-lang/vim-elixir'
NeoBundle 'mileszs/ack.vim.git'
-let g:ackprg = "ag"
-let g:ack_default_options = " -S --noheading --nopager --nocolor --nogroup --column"
-noremap <Leader>a :Ack --cpp --cc <cword><CR>
+let g:ackprg = "rg"
+let g:ack_default_options = " --vimgrep"
+noremap <Leader>a :Ack! --vimgrep -t cpp -t c -t py <cword><CR>
+noremap <Leader>A :Ack! --vimgrep <cword><CR>
NeoBundle 'tpope/vim-fugitive'