package vcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Command_line_editing
  2. | Confirm_dialog
  3. | External_command
  4. | Hit_enter_prompt
  5. | Insert
  6. | Insert_mode_completion
  7. | Insert_mode_x_completion
  8. | More_prompt
  9. | Normal
  10. | Normal_using_i_ctrl_o_in_insert_mode
  11. | Normal_using_i_ctrl_o_in_replace_mode
  12. | Normal_using_i_ctrl_o_in_virtual_replace_mode
  13. | Normal_ex_mode
  14. | Operator_pending
  15. | Operator_pending_forced_blockwise
  16. | Operator_pending_forced_characterwise
  17. | Operator_pending_forced_linewise
  18. | Replace
  19. | Replace_mode_completion
  20. | Replace_mode_x_completion
  21. | Select_blockwise
  22. | Select_by_character
  23. | Select_by_line
  24. | Terminal
  25. | Vim_ex_mode
  26. | Virtual_replace
  27. | Visual_blockwise
  28. | Visual_by_character
  29. | Visual_by_line

See `:h mode()` for descriptions of these modes.

include Ppx_enumerate_lib.Enumerable.S with type t := t
val all : t list
val sexp_of_t : t -> Sexplib0.Sexp.t
include Core.Comparable.S_plain with type t := t
include Base.Comparable.S with type t := t
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (<>) : t -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val min : t -> t -> t
val max : t -> t -> t
val ascending : t -> t -> int
val descending : t -> t -> int
val between : t -> low:t -> high:t -> bool
val clamp_exn : t -> min:t -> max:t -> t
val clamp : t -> min:t -> max:t -> t Base__.Or_error.t
type comparator_witness
val comparator : (t, comparator_witness) Base__Comparator.comparator
val validate_lbound : min:t Core.Maybe_bound.t -> t Validate.check
val validate_ubound : max:t Core.Maybe_bound.t -> t Validate.check
val validate_bound : min:t Core.Maybe_bound.t -> max:t Core.Maybe_bound.t -> t Validate.check
module Replace_polymorphic_compare : sig ... end
val of_mode_symbol : string -> t Core.Or_error.t
module With_blocking_info : sig ... end
OCaml

Innovation. Community. Security.