mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 08:22:45 +08:00
Enabled filtering by binding keys
This commit is contained in:
parent
8279a0d477
commit
44b091a7c6
|
@ -25,7 +25,7 @@ filters.filter("filterBinding", function() {
|
|||
|
||||
for(i=0; i<bindings.length; ++i) {
|
||||
binding = bindings[i];
|
||||
if (binding.command.indexOf(query) != -1) {
|
||||
if (binding.command.indexOf(query) != -1 || binding.binding.toLowerCase().indexOf(query.toLowerCase()) != -1) {
|
||||
result.push(binding);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user