-
Notifications
You must be signed in to change notification settings - Fork 18
Function: configSwitch()
config#
: number between 0 and 9
Makes config#
the active config.
This is useful if you don't like the default ESC+{number} combos.
Tapped-LCtrl + F1 -> Config1 (and F2 -> Config2)
COMBO F1 [..T.] > configSwitch(1)
COMBO F2 [..T.] > configSwitch(2)
If your [config_1] section defines a combo that lets you switch to config_2,
then you probably want to define a combo on config_2 that lets you switch back to config_1.
If you switch to config 0, by definition, combos are not evaluated.
You can only switch back from config 0 with ESC+{number}.
If you deal with many configs, you want to put the 'switch' combos into a separate [my_switch_section], and Keyword: INCLUDE that section in every config.
If you mostly work on only two configs, Function: configPrevious() is your friend.
For combining a configuration switch with certain keystrokes, you can use virtual key CONFIGSWITCH:{config#}
in Function: sequence() instead of this function.