Cycle through enums and the like in vim with C-A and C-X.
Inspired by vim-cycle, which unfortunately doesn't currently work with vim-speeddating.
You an add wordslists using the :VelocipedeAdd
command.
Example
For cycling through CSS position
values:
VelocipedeAdd static relative absolute fixed sticky
Other features:
- By default,
velocipede
allows cycling throughtrue
/false
. You can add other wordlists as appropriate. - Velocipede does it's best to preserve the case of the words as you cycle through them.
For instance,
true => false
,True => False
, andTRUE => FALSE
.