[ANN] Permute Plugin 0.8.0


The Permute Plugin offers a number of operations that permute the
elements of a textual comma-delimited list within the currently
edited file.

The available actions can either be invoked from a submenu of the
"Edit" menu or via individual two-stroke shortcuts each of which
starts (by default) with the combination "Alt+F11".

The table below lists the available actions, their keyboard
shortcuts, and their descriptions.

Extend Left Alt+F11 - Left arrow
Extend the left end of the selected list to the next entry

Reduce Left AltF11 - ShiftLeft arrow
Exclude the leftmost entry of the selected list

Extend Right Alt+F11 - Right arrow
Extend the right end of the selected list to the next entry

Reduce Right AltF11 - ShiftRight arrow
Exclude the rightmost entry of the selected list

Step Left AltF11 - CtrlLeft arrow
Move the cursor one entry to the left within the selection

Step Right AltF11 - CtrlRight arrow
Move the cursor one entry to the right within the selection

Rotate Left Alt+F11 - L
Rotate the entries of the selected list to the left

Rotate Right Alt+F11 - R
Rotate the entries of the selected list to the right

Toggle Left Alt+F11 - T (as in Toggle)
Interchange the list entry at the cursor position with its left neighbor

Toggle Right Alt+F11 - E (as in togglE)
Interchange the list entry at the cursor position with its right neighbor

Push Left Alt+F11 - P (as in Push)
Push the list entries from the cursor position to the left

Draw Left Alt+F11 - D (as in Draw)
Draw the list entries from the left to the cursor position

Push Right Alt+F11 - H (as in pusH)
Push the list entries from the cursor position to the right

Draw Right Alt+F11 - W (as in draW)
Draw the list entries from the right to the cursor position


The effects of the "Rotate", "Toggle", "Push" and "Draw" actions
are illustrated by an example.
In each of the cases below we assume that the selected list is

one, two, three, four, five, six, seven

and that the cursor is positioned on the word "four".


Rotate Left:
two, three, four, five, six, seven, one

Rotate Right:
seven, one, two, three, four, five, six

Toggle Left:
one, two, four, three, five, six, seven

Toggle Right:
one, two, three, five, four, six, seven

Push Left:
two, three, four, one, five, six, seven

Draw Left:
four, one, two, three, five, six, seven

Push Right:
one, two, three, seven, four, five, six

Draw Right:
one, two, three, five, six, seven, four


The plugin binary is available in the plugin repository, and
the sources can be downloaded from the Wiki site.
Comments, questions and sugestions for improvements are most
welcome!

Regards,
Jens

Please sign in to leave a comment.