Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddu_vim/deps.ts>fn.tabpagenr

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.tabpagenr
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { tabpagenr } = fn;

The result is a Number, which is the number of the current tab page. The first tab page has number 1. The optional argument {arg} supports the following values: $ the number of the last tab page (the tab page count). # the number of the last accessed tab page (where |g| goes to). if there is no previous tab page 0 is returned. The number can be used with the |:tab| command.

Parameters

denops: Denops
optional
arg: unknown

Returns

Promise<unknown>