Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anchor to end of word? #2

Open
dancrew32 opened this issue Sep 13, 2012 · 0 comments
Open

anchor to end of word? #2

dancrew32 opened this issue Sep 13, 2012 · 0 comments

Comments

@dancrew32
Copy link

say I have the following settings:

call AddCycleGroup(['$_POST', '$_GET', '$this->params'])
call AddCycleGroup(['$this->', 'self::'])

if I am cycling through $_POST, to $_GET, then to $this->params, my cursor is on the $this.

in the next cycle, i would cycle to self::

If the plugin measured the distance to the end of the word and consistently put me there,
the cycle would be more consistent (at least for this cycle group)

the ^ represents cursor position

$_POST
    ^
$_GET
   ^
$this->params
           ^

just a suggestion. If you have time to get to it, would be nice to have as a parameter for AddCycleGroup(). Thanks for the plugin! it rocks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant