From: Daniel Carl Date: Mon, 24 Jul 2017 21:30:39 +0000 (+0200) Subject: Use same sorting or url in tag completion. X-Git-Url: https://git.owens.tech/rss.xml/rss.xml/git?a=commitdiff_plain;h=3d7f9aa4e7c9d2bf787f55d2645828a24dd07359;p=vimb.git 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. --- 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;