zed icon indicating copy to clipboard operation
zed copied to clipboard

I am trying to re-bind ctrl-1 to shift-1 because my pinky hurts 🤕

Open munozr1 opened this issue 1 year ago • 1 comments

          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

munozr1 avatar Feb 26 '24 12:02 munozr1

poor pinky

load1n9 avatar Feb 27 '24 00:02 load1n9

@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!

ConradIrwin avatar Feb 27 '24 20:02 ConradIrwin