diff --git a/data/vimrc b/data/vimrc index b0305d1..33712e6 100644 --- a/data/vimrc +++ b/data/vimrc @@ -39,4 +39,9 @@ nnoremap k nnoremap h nnoremap 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 +endif diff --git a/home-configuration.scm b/home-configuration.scm index 26d479a..cf1aea7 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -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