diff --git a/README.md b/README.md index ae94a8d6..97bdd1f7 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,8 @@ of plugins above to learn more. * `,gd` - GitGrep def (greps for 'def [function name]') when cursor is over the function name * `,gcp` - GitGrep Current Partial to find references to the current view partial * `,gcf` - GitGrep Current File to find references to the current file + * `,ag` - Ag - silver searcher. Alternative to GitGrep that is as fast or faster. + * `,af` - AgFile - silver searcher for a filename * `//` - clear the search * `,T` - Tag list (list of methods in a class) * `Ctrl-s` - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type diff --git a/vim/settings/ag.vim b/vim/settings/ag.vim new file mode 100644 index 00000000..a6dcd272 --- /dev/null +++ b/vim/settings/ag.vim @@ -0,0 +1,3 @@ +" Open the Ag command and place the cursor into the quotes +nmap ,ag :Ag "" +nmap ,af :AgFile ""