jupyterlab-deck icon indicating copy to clipboard operation
jupyterlab-deck copied to clipboard

Consider a keyboard shortcut for stepping out of deck mode

Open stevejpurves opened this issue 2 years ago • 2 comments

Elevator Pitch

When in deck mode I can't get back to JupyterLab's normal interface without using my mouse. I'd love to just hit escape (was the first thing I tried at any rate)

Motivation

It's easy to navigate the presentation using the keyboard. Being able to jump out back out of deck mode with a shortcut is convenient. I couldn't find mention of that shortcut in the docs.

Design Ideas

Enable esc as a shortcut for quitting deck mode?

stevejpurves avatar May 03 '23 15:05 stevejpurves

btw my first time using the extension this week and loving it 😍 thanks @bollwyvl & @nthiery!

stevejpurves avatar May 03 '23 15:05 stevejpurves

This can be added on your own through the Jupyter Hub keyboard shortcut settings by adding this in the JSON Settings Editor window.


        {
            "args": {},
            "command": "deck:stop",
            "keys": [
                "Escape"
            ],
            "selector": ".jp-Deck"
        },

ronald-jaepel avatar Oct 04 '23 14:10 ronald-jaepel