Skip to content

VimJumpList.move method

VimJumpList › move

Unofficial

Move the given number of steps through the list.

Signature:

move(cm: CodeMirrorEditor, offset: number): Bookmark | undefined

Parameters:

ParameterTypeDescription
cmCodeMirrorEditorThe editor to resolve the position in.
offsetnumberHow many steps to move, negative towards older entries.

Returns: Bookmark | undefinedThe bookmark now pointed at, or undefined when there is no entry that far away.