package mew_vi

  1. Overview
  2. Docs
type t = config -> status -> keyseq -> result
and config = {
  1. mode : Mode.Name.t React.signal;
  2. set_mode : ?step:React.step -> Mode.Name.t -> unit;
  3. keyseq : keyseq React.signal;
  4. set_keyseq : ?step:React.step -> keyseq -> unit;
  5. mutable resolver_insert : t;
  6. mutable resolver_normal : t;
  7. mutable resolver_visual : t;
  8. mutable resolver_command : t;
}
and status = {
  1. register : register;
  2. count : count;
}
and result =
  1. | Accept of Edit_action.t * keyseq * Mode.Name.t
  2. | Continue of t * status * keyseq
  3. | Rejected of keyseq
val resolver_dummy : 'a -> 'b -> keyseq -> result
val resolver_insert : 'a -> 'b -> Key.t list -> result
module Common : sig ... end
module Normal : sig ... end
module Visual : sig ... end
val make_config : ?mode:Mode.Name.t -> ?keyseq:keyseq -> ?resolver_insert:t -> ?resolver_normal:t -> ?resolver_visual:t -> ?resolver_command:t -> unit -> config
val interpret : ?resolver:t -> ?keyseq:keyseq -> config -> status -> Key.t MsgBox.t -> Edit_action.t MsgBox.t -> unit -> 'a Thread.t
OCaml

Innovation. Community. Security.