vim-cycle icon indicating copy to clipboard operation
vim-cycle copied to clipboard

anchor to end of word?

Open dancrew32 opened this issue 13 years ago • 0 comments

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!

dancrew32 avatar Sep 13 '12 01:09 dancrew32