KeymapBuilder
class KeymapBuilder
Builder scope for defining key bindings via DSL.
Example:
val myKeymap = keymapOf {
"Ctrl-s" { save(it); true }
"Ctrl-z" { undo(it); true }
bind("Ctrl-f", mac = "Meta-f") { openSearch(it); true }
}Content copied to clipboard