config: add user-configured search-binding to the correct binding list

Search bindings were added to the normal key binding list...
This commit is contained in:
Daniel Eklöf 2020-08-23 09:55:19 +02:00
parent ef7429d44a
commit ddef95c297
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -989,12 +989,12 @@ parse_section_search_bindings(
/* Emit key bindings */
tll_foreach(key_combos, it) {
struct config_key_binding_normal binding = {
struct config_key_binding_search binding = {
.action = action,
.modifiers = it->item.modifiers,
.sym = it->item.sym,
};
tll_push_back(conf->bindings.key, binding);
tll_push_back(conf->bindings.search, binding);
}
free_key_combo_list(&key_combos);