123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101(*
* vi_action.ml
* -----------
* Copyright : (c) 2019 - 2020, ZAN DoYe <zandoye@gmail.com>
* Licence : MIT
*
* This file is a part of mew_vi.
*)typeinsert=|Appendofstring(* a *)|AppendEolofstring(* A *)|Insertofstring(* i *)|InsertBolofstring(* I *)|Newline_belowofstring(* o *)|Newline_aboveofstring(* O *)typemotion=(* left right *)|Left(* h *)|Right(* l *)|Right_nl(* l, including newline *)|Line_FirstChar(* 0 *)|Line_FirstNonBlank(* ^ *)|Line_LastChar(* $ *)|Line_LastChar_nl(* $ *)|Line_LastNonBlank(* g_ *)|Line_LastNonBlank_nl(* g_ *)(* up down *)|Upward(* k *)|Downward(* j *)|GotoLine(* gg or G *)|GotoLine_first(* gg *)|GotoLine_last(* G *)(* word *)|Word(* w *)|WORD(* W *)|Word_end(* e *)|WORD_end(* E *)|Word_back(* b *)|WORD_back(* B *)|Word_back_end(* ge *)|WORD_back_end(* gE *)(* line *)|Line(* occurrence *)|Occurrence_inlineofstring|Occurrence_inline_backofstring|Occurrence_inline_tillofstring|Occurrence_inline_till_backofstring(* text object *)|Sentence_backword(* ( *)|Sentence_forward(* ) *)|Paragraph_backward(* { *)|Paragraph_forward(* } *)(* text object selection *)|Word_include(* aw *)|Word_inner(* iw *)|WORD_include(* aW *)|WORD_inner(* iW *)|Sentence_include(* as *)|Sentence_inner(* is *)|Paragraph_include(* ap *)|Paragraph_inner(* ip *)|Parenthesis_include(* a( a) *)|Parenthesis_inner(* i( i) *)|Bracket_include(* a[ a] *)|Bracket_inner(* i[ i] *)|AngleBracket_include(* a< a> *)|AngleBracket_inner(* i< i> *)|Brace_include(* a{ a} *)|Brace_inner(* i{ i} *)|Quote_includeofstring|Quote_innerofstring(* match *)|Matchtyperegister=stringtypet=|Insertofinsert*int|Motionofmotion*int|Deleteofregister*motion*int|Changeofregister*motion*int|Joinofint|Undoofint|Paste_beforeofregister*int|Paste_afterofregister*int|Yankofregister*motion*int|DeleteSelectedofregister|YankSelectedofregister|ChangeModeofMode.Name.t