-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add as goal for 1.0 use autoload directory
- Loading branch information
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW @rking offered to share what it took for ag.vim on rking#9.
Re: that issue I'm still kind of bummed by the fork, especially when significant contributions come up for consideration like rking#49 that could largely benefit both tools. I handle fallback to Ack on systems where I might not have
ag
with a simple:And
ag
has some filetype support now. Though I guess we won't make @rking happy on the shortness of:Ag
😏 Anyhoo this isn't really the best place for me to share this rant, sorry 😇d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ches
:command Ag Ack
d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Gaelan Yes, absolutely, plus a few others like
:AckFile
for completeness 😄I'd recommend these as a bridge to anyone who may want to migrate (back?) from ag.vim to ack.vim, but it doesn't seem appropriate to actually include them in ack.vim. I guess I might entertain a pull request to define
Ag
commands as aliasesif g:ackprg =~# '^ag\s'
but that feels like bloat to me unless ag.vim maintainers wished to merge the projects again. This could have been part of an alternative to forking in the first place…d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference, this allows to alias every Ack commands with the Ag equivalent.
d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting
E488: Trailing characters
with Vim 8.0.707 and the option for aliasing in the last comment.Ack commands work fine!
d97090f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bserem I've found that this works for me: