Open l-7-l opened 1 month ago
Do you have a shortcut base on ctrl-w
? Does Zed have a keymap viewer ?
@bersace No, I don't have a ctrl-w based shortcut, there also nothing in keymap.json
might "vim_mode": "true"
cause this problem.
Could this be related to https://github.com/zed-industries/zed/issues/11089#issuecomment-2212491830?
Could this be related to #11089 (comment)? I'm not sure, but turning off vim-mode does make the problem go away. However, in the vim default keymap, the binding for ctrl-w is null. If the key combination matches None, it should stop searching and hand it over to the next plugin.
might
"vim_mode": "true"
cause this problem.
yes
Could this be related to #11089 (comment)?
looks more like this As far as I know if you configure
I just added a binding to close the pane on double tap ctrl-w
. Good enough for me right now
{
"context": "Editor",
"bindings": {
"ctrl-w ctrl-w": "pane::CloseActiveItem"
}
}
I can confirm the reason. I never use "cmd-w {something}" so I just dropped those from keymap.json
and no closing is fast again
same here on linux. editor: version: Zed Preview 0.144.2 code:
os:
录屏 2024-07-16 13-47-01.webm
Originally posted by @l-7-l in https://github.com/zed-industries/zed/discussions/8274#discussioncomment-10058202
settings: