package vcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Normal
  2. | Operator_pending
  3. | Insert
  4. | Cmd_line
  5. | Select
  6. | Visual
  7. | Terminal
  8. | Visual_and_select
  9. | Normal_and_visual_and_operator_pending
  10. | Insert_and_command_line
  11. | Language

Map modes. For more information see `:h map-modes`. In the documentation here and in the implementation, we refer to a mode as "simple" if it corresponds with a single Vim mode, and as "complex" if it corresponds with multiple Vim modes. Language mappings are special and don't neatly fall into this distinction.

Simple modes: Normal, Operator_pending, Insert, Cmd_line, Select, Visual, Terminal Complex modes: Visual_and_select, Normal_and_visual_and_operator_pending, Insert_and_command_line

include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_enumerate_lib.Enumerable.S with type t := t
val all : t list
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
val sexp_of_t : t -> Sexplib0.Sexp.t
include Core.Stringable.S with type t := t
val of_string : string -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.