Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/nvim/mod.ts>nvim_win_set_cursor

📚 Standard module for denops.vim
Go to Latest
function nvim_win_set_cursor
import { nvim_win_set_cursor } from "https://deno.land/x/denops_std@v5.2.0/function/nvim/mod.ts";

Sets the (1,0)-indexed cursor position in the window. api-indexing This scrolls the window even if it is not the current one.

Parameters: {window} Window handle, or 0 for current window {pos} (row, col) tuple representing the new position

Parameters

denops: Denops
window: unknown
pos: unknown

Returns

Promise<unknown>