Already after the publication of the notes on the keyboard layouts, I came across another pearl, the
most powerful addition to FireFox called abcTajpu (currently it works only in versions 1.5 - 3.0b3).
After installation, the add-on actually replaces the Compose key when working in FireFox. With the help of abcTajpu, you can easily type any tricky characters (å ℃ ≈Łķ羯) without shamanic dancing with layouts, and also set any custom replacements (for example, replace the spaces with
).
Other articles on "typographical" layouts on Habré:And maybe abcTajpu a few things:
- Replace one or more characters in the form of typing after pressing the Ins key. For example, “~ ~ Ins” will be replaced with “≈”, “c, Ins” - with “ç”, “- - Ins” - with a long dash, and so on. A full list of predefined replacements is available on some Esperanto site (at the bottom of the page).
- Replace all non-ASCII characters in selected text in a form with their hexadecimal HTML code (not mnemonics). For example, the text of the form “½ of all“ quarks ”reached a temperature of 16 ± 2”, choosing each of the special characters and using abcTajpu, can be replaced by “& # xbd; All “quarks” reached a temperature of 16 & # xb1; 2 & # x2103; " This allows you to bypass the glitches of the current Habr when using Unicode characters in the comments. Of course, the next version of Habr will solve this problem, but now we already have the opportunity to use the power of typography in the comments.
- You can add your own arbitrary autochange. Now you can not type in completely basic HTML tags, as well as the non-breaking space mnemonic. I now have mnemonics
is inserted by pressing the "space-gap Ins", and the tags, for example, by pressing "em! Ins. "
My personal set of autochange (each should have the form “
what to replace = what to replace | ”, and the Unicode characters are set using hexadecimal codes as “% u ####”) as follows:
ffi=%uFB03|ffl=%uFB04|ff=%uFB00|fi=%uFB01|fl=%uFB02|st=%uFB06|
=%u00ab|=%u00bb|=%u201e|=%u201c|co=%u00a9|=%u00a9|
1/3=%u2153|2/3=%u2154|1/5=%u2155|2/5=%u2156|3/5=%u2157|4/5=%u2158|-!=%u2010|
cite!=|
str!=|
img!=|
hc!=<habracut text="">|
nb!= |
␣␣= |
ol!=|
ul!=|
li!=|
em!=|
br!=
|
bl!=|
p!=|
q!=|
b!=|
i!=|
s!=|
a!=|
<!=<|
>!=>|
&!=&|
\.\.\.=…|
\?!=%u2048|
Note that if a longer replaceable string includes a shorter string (for example, “ffl” includes “fl”), then the replacement of a longer string must be specified earlier!
')
Also note that if for some reason abcTajpu podglyuchivaet with some kind of replacement, then probably in the replaced string you need to escape some characters with a backslash “\”. For example, in the penultimate line of the point it is necessary to screen: “\. \. \. = ... |”. Also in the last line, a question mark is screened, due to which the replacement of two “?!” Characters with the Unicode character “⁈” works (this is just an example, you don’t need to use it because it is used only for texts in vertical languages) . For a hint of honor and praise to the user
feez , I could not get around this problem without his hint.
Using abcTajpu with a modified keyboard layout allows you to speed up typing for web pages almost to the maximum. The script lacks only the command to return the cursor N characters back (so as not to do this with your hands after inserting a pair of tags).
In general, we will try to implement approximately the same functionality using AutoHotKey for Windows. The beauty of abcTajpu - regardless of the OS (at the cost of lack of cross-browser). Perhaps FireFox supporters will find it the best alternative.