# Problem Adding Keyboard Shortcut

**URL:** <https://discourse.jupyter.org/t/problem-adding-keyboard-shortcut/35644>\
**Category:** Notebook\
**Created:** [May 27, 2025, 9:54pm UTC](https://discourse.jupyter.org/t/problem-adding-keyboard-shortcut/35644 "2025-05-27T21:54:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drjlevi6](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@drjlevi6](https://discourse.jupyter.org/u/drjlevi6)\
**Post date:** [May 27, 2025, 9:54pm UTC](https://discourse.jupyter.org/t/problem-adding-keyboard-shortcut/35644/1 "2025-05-27T21:54:01Z")

</div>

I created a custom keyboard shortcut, Ctrl A, for the Run \> Run All Cells menu item. It works, but it doesn’t show up in the Run menu. How can I make it show up? Here’s the beginning of my shortcuts.jupyterlab-settings file (macOS Sequoia 15.5):

{  
“shortcuts”: [  
{  
“command”: “notebook:run-all-cells”,  
“keys”: [  
“Ctrl A”  
],  
“MacKeys”: [  
“Ctrl A”  
],  
“selector”: “.jp-Notebook:focus”,  
“args”: {},  
},  
{  
“command”: “notebook:run-all-cells”,  
“keys”: [  
“Ctrl A”  
],  
“MacKeys”: [  
“Ctrl A”  
],  
“selector”: “.jp-Notebook.jp-mod-editMode”,  
“args”: {},  
},  
{  
“command”: “runmenu:run-all-cells”,  
“keys”: [  
“Ctrl A”  
],  
“MacKeys”: [  
“Ctrl A”  
],  
“selector”: “[data-jp-code-runner]”  
},  
[snip…]  
]  
}

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 28, 2025, 2:17am UTC](https://discourse.jupyter.org/t/problem-adding-keyboard-shortcut/35644/2 "2025-05-28T02:17:50Z")

</div>

> [@Clearing Cell Output with Keyboard Shortcut](https://discourse.jupyter.org/t/clearing-cell-output-with-keyboard-shortcut/33367/6):
>
> You would like anything that is in menu to come up there, I think? And I think that is what [this issue](https://github.com/jupyterlab/jupyterlab/issues/13705) is about. You could put in your thinking or a ‘+1’ there.

I think that last sentence from another thread is about your question of:

> [@drjlevi6](#):
>
> It works, but it doesn’t show up in the Run menu. How can I make it show up

My understanding is that isn’t how things work at this time. You know it is a shortcut and can see it in the shortcut settings where you customized things when you look there.  
You’d have to add your suggestion for improvement [there in that issue](https://github.com/jupyterlab/jupyterlab/issues/13705).
