From: Robert Timm Date: Thu, 2 Mar 2017 09:06:54 +0000 (+0100) Subject: allows shortcuts without parameters X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=4860da82a0cbacd40c3bd251724397343190e703;p=vimb.git allows shortcuts without parameters --- diff --git a/src/shortcut.c b/src/shortcut.c index af858ab..4e83e4b 100644 --- a/src/shortcut.c +++ b/src/shortcut.c @@ -202,6 +202,8 @@ static const char *shortcut_lookup(Client *c, const char *string, const char **q *query = p + 1; } g_free(key); + } else { + uri = g_hash_table_lookup(c->shortcut.table, string); } if (!uri && c->shortcut.fallback