nvim: add ripgrep support
This commit is contained in:
parent
7df97df090
commit
05a30843ce
1
programs
1
programs
@ -35,3 +35,4 @@ bear
|
|||||||
xsel
|
xsel
|
||||||
xwallpaper
|
xwallpaper
|
||||||
xss-lock
|
xss-lock
|
||||||
|
ripgrep
|
||||||
|
@ -220,14 +220,24 @@ if $SYSTEM_PROFILE == "DEFAULT"
|
|||||||
set foldmethod=expr
|
set foldmethod=expr
|
||||||
set foldexpr=nvim_treesitter#foldexpr()
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
"autocmd BufEnter * normal zR
|
"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
|
endif
|
||||||
|
|
||||||
Plug 'axieax/urlview.nvim'
|
Plug 'axieax/urlview.nvim'
|
||||||
|
|
||||||
Plug 'ggandor/leap.nvim'
|
Plug 'ggandor/leap.nvim'
|
||||||
|
|
||||||
Plug 'kaarmu/typst.vim'
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
if $SYSTEM_PROFILE == "DEFAULT"
|
if $SYSTEM_PROFILE == "DEFAULT"
|
||||||
|
Loading…
Reference in New Issue
Block a user