mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Enabled filtering by binding keys
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user