Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Ag plugin for Vim

📅 2014-Jun-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ag, plugin, vim ⬩ 📚 Archive

Results of a search using Ag displayed in Vim
Results of a search using Ag displayed in Vim

Ag is an useful tool for programmers to search for text in source files. If you use Vim as your editor, you may want to use Ag to search and directly jump to the files and lines containing the text. The Ag plugin for Vim does exactly this!

I like to clone its repository and use Pathogen to install it:

$ git clone https://github.com/rking/ag.vim

Tried with: Vim 7.4 and Ubuntu 14.04