plugins.easyescape.settings
The configuration options for easyescape without the easyescape_
prefix.
For example, the following settings are equivialent to these :setglobal
commands:
foo_bar = 1
->:setglobal easyescape_foo_bar=1
hello = "world"
->:setglobal easyescape_hello="world"
some_toggle = true
->:setglobal easyescape_some_toggle
other_toggle = false
->:setglobal noeasyescape_other_toggle
Type: attribute set of anything
Default:
{ }
Example:
{
chars = {
j = 2;
};
timeout = 2000;
}
Declared by:
plugins.easyescape.settings.chars
Which keys can be used to escape insert mode and how many times they need to be pressed.
Type: null or (attribute set of (unsigned integer, meaning >=0, or raw lua code))
Default:
null
Plugin default:
{
j = 1;
k = 1;
}
Example:
{
j = 2;
}
Declared by:
plugins.easyescape.settings.timeout
The unit of timeout is in ms.
A very small timeout makes an input of real jk
or kj
possible (Python3 is required for
this feature)!
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 100
Declared by: