mew_vi

Modal editing witch, VI interpreter
IN THIS PACKAGE
Module Mew_vi . Core . Make . Base . Mode
module KeyTrie : sig ... end
type name = Modal.Name.t
type action =
| Switch of name
| Key of Modal.Key.t
| KeySeq of Modal.Key.t Queue.t
| Custom of unit -> unit
type t = {
name : name;
timeout : float option;
bindings : action KeyTrie.node;
}
module Modes : sig ... end
type modes = t Modes.t
val name : t -> name
val timeout : t -> float option
val bindings : t -> action KeyTrie.node
val compare : t -> t -> int
val default_mode : 'a Modes.t -> Modes.key * 'a
val bind : t -> KeyTrie.path -> action -> unit
val unbind : t -> KeyTrie.path -> unit