Skip to main content
Module

x/denops_std/function/mod.ts>browsedir

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

Put up a directory requester. This only works when "has("browse")" returns TRUE (only in some GUI versions). On systems where a directory browser is not supported a file browser is used. In that case: select a file in the directory to be used. The input fields are: {title} title for the requester {initdir} directory to start browsing in When the "Cancel" button is hit, something went wrong, or browsing is not possible, an empty string is returned.

Parameters

denops: Denops
title: unknown
initdir: unknown

Returns

Promise<string>