aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2019-12-05 02:12:30 +0100
committerTeddy Wing2019-12-09 20:54:23 +0100
commitcf21af4a621d12c010f57df1d057d095c4e87a33 (patch)
treef2746cc8e20563ace3a315fe666f6276cd7ca78b /vimrc
parente981d27d9b6c6a8c4143e257ec98db7ec1625865 (diff)
downloaddotvim-cf21af4a621d12c010f57df1d057d095c4e87a33.tar.bz2
vimrc: Set 'grepprg' to Ripgrep
Enable project search within Vim using Ripgrep.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
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_<leader>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