From 15105e179e0cc3131d808fa170a0165893dc7ef8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 3 Jan 2026 17:47:02 +0900 Subject: vim,nvim: set rg to 'grepprg' --- .config/nvim/lua/init/01-options.lua | 1 + .config/vim/vimrc | 1 + 2 files changed, 2 insertions(+) (limited to '.config') diff --git a/.config/nvim/lua/init/01-options.lua b/.config/nvim/lua/init/01-options.lua index 4072d97..f706ece 100644 --- a/.config/nvim/lua/init/01-options.lua +++ b/.config/nvim/lua/init/01-options.lua @@ -149,6 +149,7 @@ O.wildignorecase = true O.shell = 'fish' O.keywordprg = '' +O.grepprg = 'rg --vimgrep --smart-case' -- Encoding {{{1 diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 7896545..f9edfba 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -135,6 +135,7 @@ set wildmenu set shell=fish set keywordprg= +let &grepprg = 'rg --vimgrep --smart-case' set fileencodings=utf-8,cp932,euc-jp -- cgit v1.2.3-70-g09d2