nvim: add ripgrep support
This commit is contained in:
parent
7df97df090
commit
05a30843ce
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user