Handbook
Glossary
readline-bindings ( editor-class -- )
Vocabulary
ui
.
gadgets
.
editors
Inputs
editor-class
an
object
Outputs
None
Definition
USING:
ui.commands
ui.gestures
;
IN:
ui.gadgets.editors
:
readline-bindings
( editor-class -- )
"readline"
f
{
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"p"
}
}
previous-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"n"
}
}
next-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"b"
}
}
previous-character
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"f"
}
}
next-character
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"a"
}
}
start-of-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"e"
}
}
end-of-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"d"
}
}
delete-next-character
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"h"
}
}
delete-previous-character
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"u"
}
}
delete-to-start-of-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"k"
}
}
delete-to-end-of-line
}
{
T{
key-down
{
mods
{
C+
}
}
{
sym
"w"
}
}
delete-previous-word
}
}
define-command-map
;