nvim: add ripgrep support

This commit is contained in:
dogeystamp 2023-04-30 19:56:33 -04:00
parent 7df97df090
commit 05a30843ce
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 13 additions and 2 deletions

View File

@ -35,3 +35,4 @@ bear
xsel
xwallpaper
xss-lock
ripgrep

View File

@ -220,14 +220,24 @@ if $SYSTEM_PROFILE == "DEFAULT"
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
"autocmd BufEnter * normal zR
" typst filetype support
Plug 'kaarmu/typst.vim'
" project-wide searching
Plug 'mileszs/ack.vim'
" close quickfix list after pressing enter
let g:ack_autoclose = 1
" Ack! does not jump to first result
nnoremap <Leader>/ :Ack!<Space>
" use ripgrep
let g:ackprg = 'rg --vimgrep --smart-case'
endif
Plug 'axieax/urlview.nvim'
Plug 'ggandor/leap.nvim'
Plug 'kaarmu/typst.vim'
call plug#end()
if $SYSTEM_PROFILE == "DEFAULT"