nmap gs (GrepperOperator) xmap gs (GrepperOperator) let g:grepper = { \ 'quickfix': 0, \ 'tools': ['rg', 'git', 'ag', 'grep'], \ 'rg': { \ 'grepprg': 'rg --no-heading --vimgrep --smart-case' \ } \ } nnoremap [grepper] " Using 'a' since this is replacing ag.vim nmap a [grepper] nnoremap [grepper] :Grepper