mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

Improve settings for ag #186

Closed DSIW closed 8 years ago

DSIW commented 8 years ago

The maintainer of deprecated ag.vim recommends to use these settings: https://github.com/rking/ag.vim/issues/124#issuecomment-227038003

ches commented 8 years ago

Hi, thanks for the suggestion.

I know this seems innocuous, but giving it some thought, I'd rather not recommend these abbreviations. Initially, there are these things I would have suggested:

So these things are surmountable, you could leave them out. But the bigger problem is that this is incomplete. There are :AckFile, :AckWindow, :AckAdd, :AckFromSearch, and more. Plus there are :LAck versions of most of these. Listing abbreviations for everything seems silly, maintaining the list in documentation tracked in the repo is busywork for me, and actually including them in the plugin code would be even worse in that regard.

I think the ideal place for these would probably be to create a "Migrating from ag.vim" page on the GitHub wiki for the project. I'll have to ask @mileszs to configure the wiki to be user-editable—in the meantime if anyone would like to comment here on this issue with a full listing of abbreviations for those migrating (back), I'll create the wiki page for you.

DSIW commented 8 years ago

I understand, thanks for your great response.