Skip to content

VimJumpList

Unofficial

The ring buffer of positions jumped from, walked by Ctrl-o and Ctrl-i.

Import:

import type { VimJumpList } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface VimJumpList

Properties

PropertyTypeDescription
cachedCursorEditorPosition | undefinedThe position remembered for the # and * motions, which jump without disturbing the list.

Methods

MethodReturnsDescription
add(cm, oldCur, newCur)voidRecord a jump from one position to another.
find(cm, offset)EditorPosition | null | undefinedLook up the position the given number of steps away without moving the current position.
move(cm, offset)Bookmark | undefinedMove the given number of steps through the list.

Links to this page: