Skip to content

sebkolind/micro-ag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ag Plugin for micro

This plugin provides the ability to search with "ag" (aka the_silver_searcher) in micro.

Requirements

It requires that you have ag (aka the_silver_searcher) available in your path. For Arch Linux you install via pacman -Syu the_silver_searcher.

Options

There are no configuration options at the moment.

Usage

You can use ag as if it was on the command line: > ag --lua function or ag function - change "function" with your search string. Accepts all the same options as ag usually does.

Available commands

  • agOpenHere opens the file under the cursor in the current buffer.
  • agOpenInTab opens the file under the cursor in a new tab.

Install

Add this repo as a pluginrepos option like this:

"pluginrepos": [
  "https://raw.githubusercontent.com/sebkolind/micro-ag/master/repo.json"
],

Install with > plugin install ag.

Roadmap

  • Fix known issue with arguments to "ag" not working