Skip to main content
Module

x/denops_std/function/mod.ts>getcmdline

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

Return the current command-line. Only works when the command line is being edited, thus requires use of |c_CTRL-_e| or |c_CTRL-R_=|. Example: :cmap <C->eescape(getcmdline(), ' ')<CR |setcmdline()|. Returns an empty string when entering a password or using |inputsecret()|.

Returns

Promise<unknown>