deathbeds / jupyterlab-deck

Lightweight presentations for JupyterLab
https://jupyterlab-deck.rtfd.io
BSD 3-Clause "New" or "Revised" License
40 stars 9 forks source link

Consider a keyboard shortcut for stepping out of deck mode #47

Open stevejpurves opened 1 year ago

stevejpurves commented 1 year ago

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 commented 1 year ago

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

ronald-jaepel commented 1 year ago

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"
        },