aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-03 17:47:02 +0900
committernsfisis <nsfisis@gmail.com>2026-01-03 17:47:02 +0900
commit15105e179e0cc3131d808fa170a0165893dc7ef8 (patch)
treef8450e1ba81bb427493f429d2305f8eadea9ff03 /.config
parentd0550e1d72af1c05f0b4f9f4020738dde873c650 (diff)
downloaddotfiles-15105e179e0cc3131d808fa170a0165893dc7ef8.tar.gz
dotfiles-15105e179e0cc3131d808fa170a0165893dc7ef8.tar.zst
dotfiles-15105e179e0cc3131d808fa170a0165893dc7ef8.zip
vim,nvim: set rg to 'grepprg'
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/init/01-options.lua1
-rw-r--r--.config/vim/vimrc1
2 files changed, 2 insertions, 0 deletions
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