aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'