From cf21af4a621d12c010f57df1d057d095c4e87a33 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 5 Dec 2019 02:12:30 +0100 Subject: vimrc: Set 'grepprg' to Ripgrep Enable project search within Vim using Ripgrep. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 69cd790..b0ed7aa 100644 --- a/vimrc +++ b/vimrc @@ -442,6 +442,9 @@ " * Add gS mapping to :ArgWrap. " * Add v_w mapping to search a visual selection with Ripgrep. " +" 2019.11.29: +" * Set 'grepprg' to Ripgrep. +" " Pathogen @@ -512,6 +515,8 @@ set undofile set modelines=0 set nomodeline +set grepprg=rg\ --vimgrep + " Disable all default ftplugins " http://vim.wikia.com/wiki/File_type_plugins#Disabling_default_ftplugins " http://stackoverflow.com/questions/11337129/setting-buffer-specific-variables-in-vim#comment14956146_11351393 -- cgit v1.2.3