Skip to main content
Module

x/denops_std/function/mod.ts>getjumplist

📚 Standard module for denops.vim
Go to Latest
function getjumplist
import { getjumplist } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

Returns the jumplist for the specified window.

Without arguments use the current window. With {winnr} only use this window in the current tab page. {winnr} can also be a window-ID. With {winnr} and {tabnr} use the window in the specified tab page. If {winnr} or {tabnr} is invalid, an empty list is returned.

The returned list contains two entries: a list with the jump locations and the last used jump position number in the list. Each entry in the jump location list is a dictionary with the following entries: bufnr buffer number col column number coladd column offset for 'virtualedit' filename filename if available lnum line number

Can also be used as a method:

GetWinnr()->getjumplist()

Parameters

denops: Denops
optional
winnr: unknown
optional
tabnr: unknown

Returns

Promise<unknown[]>