Description
Summary
Setting task_name with spaces does not work with keybindings
1.add task to task.json
{
"label": "start lazygit",
"command": "lazygit -p $ZED_WORKTREE_ROOT"
}
add keybinding
{
"context": "Workspace",
"bindings": {
"alt-g": [
"task::Spawn",
{ "task_name": "start lazygit", "reveal_target": "center" }
]
}
}
- use keybinding
Actual Behavior:
opens task selector
Expected Behavior:
opens task with that name
I fixed this by using "_" instead of spaces. I got this idea because the auto config update changed it to be that.
Do we need to update the docs instead?
Zed Version and System Specs
Zed: v0.173.8 (Zed)
OS: macOS 14.7.4
Memory: 16 GiB
Architecture: aarch64