forked from rking/ag.vim
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Outlined all proposed <Plug> mappings
- Loading branch information
Showing
1 changed file
with
14 additions
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
ebf90d1
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.
This is really handy. Remember to add default mappings on doc.
ebf90d1
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.
Them aren't working yet -- until
ag#GetArgs
will be expanded for default functions.ebf90d1
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.
Also, propose some replacement instead of
<Leader>ra
for the sake of consistency in shipped default mappings. Individual remappings must be in individual vimrc.Because in my vimrc it will be remapped anyways -- separating by usage frequency.
I will add considerably nice example in the doc for such tinkering. Then we can discuss defaults again.
ebf90d1
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.
<Leader>ra
stands for "Repeat last Ag search" but feel free to suggest any other.ebf90d1
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.
Then, maybe it has sense to rename through whole codebase
*Last
as*Repeat
to eliminate ambiguity? It will allow to introduce and add conformed functions for default functional.ebf90d1
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'm agree with that