Skip to content

Instantly share code, notes, and snippets.

@jeregrine
Last active December 24, 2015 02:49
Show Gist options
  • Select an option

  • Save jeregrine/6733421 to your computer and use it in GitHub Desktop.

Select an option

Save jeregrine/6733421 to your computer and use it in GitHub Desktop.
nmap <leader>f :call RunAg()<CR>
function! RunAg()
let string = input('term: ')
execute ':Ag ' . string . ' ./'
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment