Skip to main content
Module

x/dpp_vim/deps.ts>fn.setcmdline

Dark powered plugin manager for Vim/neovim
Latest
function fn.setcmdline
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { setcmdline } = fn;

Set the command line to {str} and set the cursor position to {pos}. If {pos} is omitted, the cursor is positioned after the text. Returns 0 when successful, 1 when not editing the command line.

Can also be used as a method:

GetText()->setcmdline()

Parameters

denops: Denops
str: unknown
optional
pos: unknown

Returns

Promise<number>