Inherits from NSObject
Declared in ViParser.h

Overview

A parser for vi commands.

Tasks

Instance Methods

initWithDefaultMap:

Initialize a new key parser.

- (ViParser *)initWithDefaultMap:(ViMap *)aMap

Parameters

aMap

The default map to use when mapping keys.

See Also

Declared In

ViParser.h

keyString

The current keys being parsed, or the empty string if not partial keys received.

- (NSString *)keyString

Return Value

The current keys being parsed, or the empty string if not partial keys received.

Declared In

ViParser.h

partial

YES if there are partial keys received.

- (BOOL)partial

Return Value

YES if there are partial keys received.

Declared In

ViParser.h

reset

Reset the parser.

- (void)reset

Discussion

Parser state is reset and any partial keys are discarded. The key map is reset to the default map defined when the parser was created.

Declared In

ViParser.h

setMap:

Change the current key map.

- (void)setMap:(ViMap *)aMap

Parameters

aMap

A new key map that should be used to parse following keys.

Declared In

ViParser.h