zed
zed copied to clipboard
I am trying to re-bind ctrl-1 to shift-1 because my pinky hurts 🤕
I am trying to re-bind ctrl-1 to shift-1 because my pinky hurts 🤕
{
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
"bindings": {
// put key-bindings here if you want them to work only in normal mode
"space l": "pane::SplitRight",
"space h": "pane::SplitLeft",
"space p": "file_finder::Toggle",
"space k": "editor::MoveRight",
"shift-1": ["pane::ActivateItem", 0],
"shift-2": ["pane::ActivateItem", 2],
"shift-3": ["pane::ActivateItem", 3]
}
},
However, it does not seem to be working 😞
Originally posted by @munozr1 in https://github.com/zed-industries/zed/issues/5001#issuecomment-1956661308
poor pinky
@munozr1 Unfortunately shift only works as a modifier for letter-keys at the moment. You need to bind to the punctuation that is output instead:
"!":
"@":
"#":
Hope that helps!