UniCycle : Unicode character cycler
| script karma
Downloaded by 1713
Comments, bugs, improvements
script versions (upload new version)
|This script cycles through certain Unicode characters while typing. It only
works if set encoding=utf-8.
When on, the hyphen (-), period (.), apostrophe ('), and quote (")
characters are mapped to the appropriate functions within this file.
When you enter two hyphen characters in a row, the first hyphen character
will cycle to an EN DASH character. A third hyphen will turn the EN DASH
into an EM DASH. A fourth hyphen will turn your EM DASH back into a
Entering three periods in a row will replace all three periods with a
HORIZONTAL ELLIPSIS character.
Entering an apostrophe will try to determine if the apostrophe should be a
LEFT SINGLE QUOTATION MARK or RIGHT SINGLE QUOTATION MARK. It does this by
looking at the character to the left of the new character. You can cycle
between LEFT SINGLE QUOTATION MARK, APOSTROPHE, and RIGHT SINGLE QUOTATION
MARK by repeatedly hitting your apostrophe key.
Quote characters are treated in the same manner as apostrophe characters.
You get either a LEFT DOUBLE QUOTATION MARK, normal QUOTATION MARK, or RIGHT
DOUBLE QUOTATION MARK based on the previous character and how many times you
hit your quote key in a row.
|To install, drop it in your plugins directory. To use, execute the
:UniCycleOn command. Turn turn it off, execute :UniCycleOff.
Click on the package to download.
ip used for rating: 18.104.22.168