Install ripgrep, and use it in vim
This commit is contained in:
parent
23c22e238c
commit
36d22ca23a
|
@ -39,4 +39,9 @@ nnoremap <C-k> <C-w>k
|
|||
nnoremap <C-h> <C-w>h
|
||||
nnoremap <C-l> <C-w>l
|
||||
|
||||
|
||||
" use ripgrep if available
|
||||
if executable('rg')
|
||||
set grepprg=rg\ --color=never
|
||||
let $FZF_DEFAULT_COMMAND = 'rg --files-with-matches --color=never ""'
|
||||
nnoremap \ :Ag<SPACE>
|
||||
endif
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
(gnu packages terminals)
|
||||
(gnu packages vim)
|
||||
(gnu packages version-control)
|
||||
(gnu packages rust-apps)
|
||||
(gnu home services)
|
||||
(gnu home services syncthing)
|
||||
(nongnu packages mozilla)
|
||||
|
@ -29,6 +30,7 @@
|
|||
fzf-tab
|
||||
firefox
|
||||
git
|
||||
ripgrep
|
||||
))
|
||||
|
||||
(services (list
|
||||
|
|
Loading…
Reference in New Issue