diff --git a/docs/changelog.md b/docs/changelog.md index 9059180..2f8ee5f 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,7 @@ Here are the most notable changes in each release. For a more detailed list of c ### Bug Fixes - Fix issue where the second command in the command palette, instead of the first command, was selected when the palette is opened. +- Change name/label of some commands in the command palette, and make commands searchable using their key names as well. ## 2.2.0 diff --git a/src/components/BufferSelector.vue b/src/components/BufferSelector.vue index 216c3b8..4fbedfa 100644 --- a/src/components/BufferSelector.vue +++ b/src/components/BufferSelector.vue @@ -102,7 +102,7 @@ return this.commands } const searchResults = fuzzysort.go(this.filter.slice(1), this.commands, { - keys: ["name"], + keys: ["name", "cmd"], }) return searchResults.map((result) => { const obj = {...result.obj}