From 3d7f9aa4e7c9d2bf787f55d2645828a24dd07359 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 24 Jul 2017 23:30:39 +0200 Subject: [PATCH] Use same sorting or url in tag completion. Show matching url in case of `bmr tag` as for the open command `:open tag` which is none sorting to keep the url in the sort order they where added to the bookmarks. This means the last added bookmarks or ordered first in the completion list. --- src/ex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ex.c b/src/ex.c index 894f249..d6a49de 100644 --- a/src/ex.c +++ b/src/ex.c @@ -1189,7 +1189,7 @@ static gboolean complete(Client *c, short direction) switch (arg->code) { case EX_OPEN: case EX_TABOPEN: - sort = FALSE; + sort = FALSE; if (*token == '!') { found = bookmark_fill_completion(store, token + 1); } else { @@ -1206,6 +1206,7 @@ static gboolean complete(Client *c, short direction) break; case EX_BMR: + sort = FALSE; found = bookmark_fill_completion(store, token); break; -- 2.20.1