From: Daniel Carl Date: Fri, 3 Mar 2017 11:12:22 +0000 (+0100) Subject: Allow shortcuts without parameters #329. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=8073db34075222888b6276d2a64796779e8031bc;p=vimb.git Allow shortcuts without parameters #329. --- diff --git a/src/shortcut.c b/src/shortcut.c index d907797..9435108 100644 --- a/src/shortcut.c +++ b/src/shortcut.c @@ -201,6 +201,8 @@ static const char *shortcut_lookup(const char *string, const char **query) *query = p + 1; } g_free(key); + } else { + uri = g_hash_table_lookup(shortcuts, string); } if (!uri && default_key && (uri = g_hash_table_lookup(shortcuts, default_key))) {