diff --git a/programs b/programs index 334b5ad..f5b5df2 100644 --- a/programs +++ b/programs @@ -35,3 +35,4 @@ bear xsel xwallpaper xss-lock +ripgrep diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 5a23afd..351af72 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -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 / :Ack! + " 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"