zed icon indicating copy to clipboard operation
zed copied to clipboard

Disable default key bindings

Open cholwell opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

When using a comprehensive custom keymap.json ideally the default key bindings would no longer apply by default.

So far the only workaround I can find is about 200 "keybind" : "zed::NoAction" which isn't ideal.

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

No response

cholwell avatar Apr 16 '24 14:04 cholwell

Hey @cholwell, you can set the "base_keymap" setting to None in your settings.json file, which completely disables all default key bindings. Does this work for you?

JosephTLyons avatar Apr 16 '24 17:04 JosephTLyons

@JosephTLyons ah perfect, thanks for the quick response! I wonder if it might be useful adding a quick line about this somewhere on https://zed.dev/docs/key-bindings ?

cholwell avatar Apr 17 '24 11:04 cholwell

Yep - I'll add it!

JosephTLyons avatar Apr 19 '24 06:04 JosephTLyons