Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-ag.vim]

Run the_silver_searcher (also known as ag) from within Vim.

0
votes
1answer
79 views

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

Whenever I run an :Ag search on my present working directory, the first entry in the returned results list is always automatically opened in the currently active pane. Is there any way to disable ...
3
votes
1answer
666 views

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

I'm using (the fantastic) Ag, Silver Searcher, through (the fantastic) fzf.vim plugin. When I search for text, though, I don't want to see matches on file names. For example, :Ag finder shows every ...
3
votes
1answer
119 views

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

Looked through the options through :help Ag but didn't see anything. The closest I got was lhandler but that's only controlling the new window that opens.