Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
5 votes
Accepted

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
Accepted

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.2k
1 vote

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
  • 432

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