# In which js can i find shortcut Keys related code?

**URL:** https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924
**Category:** Core Development
**Created:** [3 March 2021 06:03 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924 "2021-03-03T06:03:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)
#### Post date: [3 March 2021 06:03 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924/1 "2021-03-03T06:03:29Z")

</div>

Hello,  
As i want to disable(Unassigned) some of short cut keys and keep enable some keys. Can u plese help me out where can i find shortcut keys related code and how should i do that?

P.S. earlier i asked this question but that time node red version was old and that was a bug in those version and some one told me that it is solved in new version.  
@knolleary

Thanks.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/3/d3f2df8f2569727b571cac47227e5dfa9eb7a26e.png)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 March 2021 14:48 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924/2 "2021-03-03T14:48:27Z")

</div>

I think it is probably in `.config.users.json` in the .noce-red folder, but I don't use the feature so not certain. Have a look and see what is there.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [3 March 2021 14:53 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924/3 "2021-03-03T14:53:12Z")

</div>

If you are building a custom Node-RED instance from the source code, you could edit the file `packages/node_modules/@node-red/editor-client/src/js/keymap.json` to change the default shortcuts.

With the new 1.3 release, you can also provide a custom keymap in your settings file to override the defaults - [Allow default keymap to be overridden in settings file by knolleary · Pull Request #2843 · node-red/node-red · GitHub](https://github.com/node-red/node-red/pull/2843)

---

<div class="post-metadata">

### Author: ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)
#### Post date: [5 March 2021 08:00 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924/4 "2021-03-05T08:00:44Z")

</div>

And how should i disable shortcut keys in my node red docker image?  
@knolleary

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [4 May 2021 08:01 UTC](https://discourse.nodered.org/t/in-which-js-can-i-find-shortcut-keys-related-code/41924/5 "2021-05-04T08:01:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
