zed icon indicating copy to clipboard operation
zed copied to clipboard

Keymap active item custom

Open Natchii59 opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

We cannot modify the keymap for active tabs. It would be nice if it was customizable.

image

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Natchii59 avatar Feb 17 '24 15:02 Natchii59

Hey @Natchii59, could you explain a bit more what you are wanting to do? I'm a bit confused here. Thanks.

JosephTLyons avatar Feb 20 '24 19:02 JosephTLyons

Hey @JosephTLyons, It would be nice to be able to customize these keys. For example, I can't change the shortcut for Active item 1 to cmd+1

Natchii59 avatar Feb 21 '24 09:02 Natchii59

I believe this is now possible, these are just defined as part of the regular keymap and you create your own custom binds to these actions or rebind these keys to other actions as desired.

https://github.com/zed-industries/zed/blob/75377bbe0f1b6d4b8f313adcd5dd5005601d0756/assets/keymaps/default-macos.json#L384-L393

Thanks.

notpeter avatar Jul 08 '24 20:07 notpeter