Index

Classes

Variables

Functions

Variables

Let modeState

modeState: NModeState

Functions

init

  • init(endCommand: string, mode?: string, numCommands?: number): void
  • Init n [mode] mode. After parsing the defined number of commands, execute endCmd. Escape cancels the mode and executes endCmd.

    Parameters

    • endCommand: string
    • Default value mode: string = "normal"
    • Default value numCommands: number = 1

    Returns void

parser