Remove Specific Keyboard Shortcuts
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
How can I remove specific keyboard shortcuts?
The Z and DD shortcuts in particular are troublesome as errant keystrokes keep undo-ing or deleting cells.
Referencing [#1437](https://github.com/jupyter/notebook/issues/1437), I too have seen documentation suggesting the code below. However, It gives the error "Javascript Error: Can't find variable: Jupyter"
```
%%javascript
Jupyter.keyboard_manager.command_shortcuts.remove_shortcut('z');
Jupyter.keyboard_manager.command_shortcuts.remove_shortcut('dd');
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the guidance referenced in issue #1437 and the shown Jupyter.keyboard_manager.command_shortcuts calls. Determine whether the documentation needs an updated method for removing the Z and DD shortcuts, or clarification that the example no longer works; done means the supported approach is documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100