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

x/denops_std/function/vim/mod.ts>setcursorcharpos

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

Same as |cursor()| but uses the specified column number as the character index instead of the byte index in the line. Example: With the text "여보세요" in line 4: call setcursorcharpos(4, 3) positions the cursor on the third character '세'. call cursor(4, 3) positions the cursor on the first character '여'. Can also be used as a |method|: GetCursorPos()->setcursorcharpos()

Parameters

denops: Denops
lnum: unknown
col: unknown
optional
off: unknown

Returns

Promise<unknown>

Parameters

denops: Denops
list: unknown

Returns

Promise<unknown>