shortcut(k, v)

Makes the string k a shortcut of string v. The shortcut works by typing the character '\' followed by the string k. The program will replace both the '\' and string k by the string v. This feature works only if the caret is located at the end of the file.

There is no limit for the number of shortcuts you can define.

shortcut(k, "")

Removes the shortcut defined by string k.

shortcut()

Lists all shortcuts in the system.


Example


shortcut( "h", "anova_ht_oneway(")


Typing \h (with the caret at the end of the file) the program replaces \h by anova_ht_oneway(


shortcut( "S", "Σ")


The menu option Font->Unicode Chooser... lets you enter Greek characters. Now every time you type \S, the program replaces \S by the Greek character Σ.