5 votes

Using the Ag plugin, how to not automatically open the first result?

It was right there, if you append a ! to the command, it'll not open the first result. I'll map :Ag to :Ag!. :Ag[!] [options] {pattern} [{directory}] *:Ag* Search ...
user avatar
3 votes

Any way to prevent :Ag search from automatically opening the first returned result?

I don't have the plugin but if I'm reading the docs correctly you just need to add bang !... :Ag[!] [options] {pattern} [{directory}] *:Ag* Search recursively in ...
user avatar
  • 18.3k
2 votes

How to exclude filenames from Ag search (via fzf.vim)?

To find files which contains some string, the :grep command is "for that". And I know it's quite slow. For that purpose, I have added the :Find command to my .vimrc: (From this post) command! -...
user avatar
  • 442

Only top scored, non community-wiki answers of a minimum length are eligible