Open
Description
Check for existing issues
- Completed
Describe the feature
I use alot the following pattern in Sublime Text
- Select a word
- Select all matching words
ctrl+cmd+g
- Move through the selected words using
cmg+g
It relys on this default sublime keybindingd
{ "keys": ["super+g"], "command": "find_next" },
{ "keys": ["ctrl+super+g"], "command": "find_all_under" },
I tried to get it whit Zed using these keybindings, but it is not the same:
[
{
"context": "Editor",
"bindings": {
"cmd-ctrl-g": "editor::SelectAllMatches",
"cmd-g": "editor::SelectNext"
}
}
]
Sublime example:
Screen.Recording.2024-02-16.at.14.46.46.mov
Zed example (when i hit cmd-g
nothing happens):
Screen.Recording.2024-02-16.at.15.06.55.mov
I think the reason is that cmd-g
is mapped to "editor::SelectNext"
but it should be mapped to "editor::SelectNextMatch"
which is not available in the editor
namespace (it's available for search
nampesapce though...)
If applicable, add mockups / screenshots to help present your vision of the feature
N/A