Skip to main content
Module

x/denops_std/function/mod.ts>winline

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

The result is a Number, which is the screen line of the cursor in the window. This is counting screen lines from the top of the window. The first line is one. If the cursor was moved the view on the file will be updated first, this may cause a scroll.

Returns

Promise<number>