From 90dd599904266a3a35a24fe687a484574423c6c1 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Sun, 24 Jan 2021 21:48:49 +0100 Subject: [PATCH] Clarify :bmarks help --- src/excmds.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/excmds.ts b/src/excmds.ts index d31f982b..5ef5c204 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -1236,8 +1236,10 @@ export async function open(...urlarr: string[]) { /** * Works exactly like [[open]], but only suggests bookmarks. * + * If you want to use optional flags, you should run `:set completions.Bmark.autoselect false` to prevent the spacebar from inserting the URL of the top bookmark. + * * @param opt Optional. Has to be `-t` in order to make bmarks open your bookmarks in a new tab. - * @param urlarr any argument accepted by [[open]], or [[tabopen]] if opt is "-t" + * @param urlarr any argument accepted by [[open]], or [[tabopen]] if opt is "-t" (e.g. `-c [container]` to open a bookmark in a container) */ //#background export async function bmarks(opt: string, ...urlarr: string[]) {