Skip to content

Instantly share code, notes, and snippets.

@izaakm
Forked from discdiver/jupyterlab_shortcuts.md
Last active September 12, 2021 12:52
Show Gist options
  • Save izaakm/9423a3d59b68cea50b39e39f0b5dcffb to your computer and use it in GitHub Desktop.
Save izaakm/9423a3d59b68cea50b39e39f0b5dcffb to your computer and use it in GitHub Desktop.

Revisions

  1. izaakm revised this gist Sep 12, 2021. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    If you are on a Mac, substitute `command` for `control`. Don't type the _+_ (it means press both keys at once).

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    - `Shift` + `Enter` run selected cell or cells - if no cells below, insert a code cell below
  2. izaakm revised this gist Sep 12, 2021. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,11 +4,11 @@ Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (insi
    ---
    - `Shift` + `Enter` run selected cell or cells - if no cells below, insert a code cell below

    - `Ctrl` + `B` toggle hide/show left sidebar
    - `Command` + `B` toggle hide/show left sidebar

    - `Ctrl` + `S` save and checkpoint
    - `Ctrl` + `Shift` + `S` save as
    - `Ctrl` + `F` find
    - `Command` + `S` save and checkpoint
    - `Command` + `Shift` + `S` save as
    - `Command` + `F` find

    Shortcuts when in _command mode_ (outside the cells, no blinking cursor):
    ---
    @@ -25,7 +25,7 @@ Shortcuts when in _command mode_ (outside the cells, no blinking cursor):

    - `Shift` + `Up Arrow` select the current cell and the cell above
    - `Shift` + `Down Arrow` select the current cell and the cell below
    - `Ctrl` + `A` select all cells
    - `Command` + `A` select all cells

    - `X` cut the selected cell or cells
    - `C` copy the selected cell or cells
    @@ -45,13 +45,13 @@ Shortcuts when in _edit mode_ (inside a cell with a blinking cursor):

    - `Tab` code completion (or indent if at start of line)
    - `Shift` + `Tab` tooltip help
    - `Ctrl` + `Shift` + `-` split the active cell at the cursor
    - `Command` + `Shift` + `-` split the active cell at the cursor

    The usual commands for code editors:

    - `Ctrl` + `]` indent
    - `Ctrl` + `[` dedent
    - `Command` + `]` indent
    - `Command` + `[` dedent

    - `Ctrl` + `/` toggle comment
    - `Command` + `/` toggle comment

    Plus the usual shortcuts for select all, cut, copy, paste, undo, etc.
  3. @discdiver discdiver revised this gist Aug 30, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -34,6 +34,7 @@ Shortcuts when in _command mode_ (outside the cells, no blinking cursor):
    - `Shift + M` merge multiple selected cells into one cell

    - `DD` (`D` twice) delete the active cell
    - `00` (Zero twice) restart the kernel

    - `Z` undo most recent command mode action

    @@ -53,4 +54,4 @@ The usual commands for code editors:

    - `Ctrl` + `/` toggle comment

    Plus the usual shortcuts for select all, undo, cut, copy, paste, etc.
    Plus the usual shortcuts for select all, cut, copy, paste, undo, etc.
  4. @discdiver discdiver revised this gist Aug 30, 2020. 1 changed file with 13 additions and 10 deletions.
    23 changes: 13 additions & 10 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,18 @@
    Note, if you are on a Mac, substitute `command` for `control`. Don't type the `+` (it means press both keys at once).
    If you are on a Mac, substitute `command` for `control`. Don't type the _+_ (it means press both keys at once).

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    - `Shift` + `Enter` run selected cells
    - `Shift` + `Enter` run selected cell or cells - if no cells below, insert a code cell below

    - `Ctrl` + `B` toggle hide/show left sidebar

    - `Ctrl` + `S` save and checkpoint
    - `Ctrl` + `Shift` + `S` save as
    - `Ctrl` + `F` find

    - `Ctrl` + `B` toggles hide/show left sidebar

    Shortcuts when in _command mode_:
    Shortcuts when in _command mode_ (outside the cells, no blinking cursor):
    ---
    - `Enter` enter _edit mode_ in the active cell

    - Scroll up with the up arrow
    - Scroll down with the down arrow
    @@ -23,31 +25,32 @@ Shortcuts when in _command mode_:

    - `Shift` + `Up Arrow` select the current cell and the cell above
    - `Shift` + `Down Arrow` select the current cell and the cell below
    - `Ctrl` + `A` select all cells

    - `X` cut the selected cell or cells
    - `C` copy the selected cell or cells
    - `V` paste the cell(s) which were copied or cut most recently

    - `Shift + M` merge multiple selected cells into one cell

    - `DD` (D twice) delete the active cell
    - `DD` (`D` twice) delete the active cell

    - `Z` undo most recent command mode action

    Shortcuts when in _edit mode_:
    Shortcuts when in _edit mode_ (inside a cell with a blinking cursor):
    ---

    - `Esc` takes you into command mode
    - `Esc` enter _command mode_

    - `Tab` code completion (or indent if at start of line)
    - `Shift` + `Tab` tooltip help
    - `Ctrl` + `Shift` + `-` split the active cell at the cursor

    The usual commands for code editors:

    - `Ctrl` + `]` indent
    - `Ctrl` + `]` indent
    - `Ctrl` + `[` dedent

    - `Ctrl` + `/` toggle comment

    Plus the usual select all, undo, cut, copy, paste, find, etc.
    Plus the usual shortcuts for select all, undo, cut, copy, paste, etc.
  5. @discdiver discdiver revised this gist Aug 29, 2020. No changes.
  6. @discdiver discdiver revised this gist Aug 29, 2020. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -50,6 +50,4 @@ The usual commands for code editors:

    - `Ctrl` + `/` toggle comment

    - `Ctrl` + `A` select all

    - `Ctrl` + `Z` undo
    Plus the usual select all, undo, cut, copy, paste, find, etc.
  7. @discdiver discdiver revised this gist Apr 6, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -48,6 +48,8 @@ The usual commands for code editors:
    - `Ctrl` + `]` indent
    - `Ctrl` + `[` dedent

    - `Ctrl` + `/` toggle comment

    - `Ctrl` + `A` select all

    - `Ctrl` + `Z` undo
  8. @discdiver discdiver revised this gist Apr 6, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,7 @@ Shortcuts when in _edit mode_:
    ---

    - `Esc` takes you into command mode

    - `Tab` code completion (or indent if at start of line)
    - `Shift` + `Tab` tooltip help
    - `Ctrl` + `Shift` + `-` split the active cell at the cursor
  9. @discdiver discdiver revised this gist Apr 6, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -40,7 +40,7 @@ Shortcuts when in _edit mode_:
    - `Esc` takes you into command mode
    - `Tab` code completion (or indent if at start of line)
    - `Shift` + `Tab` tooltip help
    - `Ctrl` + `Shift` + `-` Split the active cell at the cursor
    - `Ctrl` + `Shift` + `-` split the active cell at the cursor

    The usual commands for code editors:

  10. @discdiver discdiver revised this gist Feb 10, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (insi
    - `Ctrl` + `S` save and checkpoint
    - `Ctrl` + `Shift` + `S` save as

    - `Ctrl1 + B` toggles hide/show left sidebar
    - `Ctrl` + `B` toggles hide/show left sidebar

    Shortcuts when in _command mode_:
    ---
  11. @discdiver discdiver revised this gist Feb 10, 2020. 1 changed file with 26 additions and 12 deletions.
    38 changes: 26 additions & 12 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -2,37 +2,51 @@ Note, if you are on a Mac, substitute `command` for `control`. Don't type the `+

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    - `Shift + Enter` run selected cells
    - `Ctrl + S` save and checkpoint
    - `Ctrl + B` toggles hide/show left sidebar
    - `Shift` + `Enter` run selected cells

    - `Ctrl` + `S` save and checkpoint
    - `Ctrl` + `Shift` + `S` save as

    - `Ctrl1 + B` toggles hide/show left sidebar

    Shortcuts when in _command mode_:
    ---

    - Scroll up with the up arrow key
    - Scroll down with the down arrow key
    - Scroll up with the up arrow
    - Scroll down with the down arrow

    - `A` insert a new cell above the active cell
    - `B` insert a new cell below the active cell

    - `M` make the active cell a Markdown cell
    - `Y` make the active cell a code cell

    - `Shift` + `Up Arrow` select the current cell and the cell above
    - `Shift` + `Down Arrow` select the current cell and the cell below

    - `X` cut the selected cell or cells
    - `C` copy the selected cell or cells
    - `V` paste the cell(s) which were copied or cut most recently

    - `Shift + M` merge multiple selected cells into one cell

    - `DD` (D twice) delete the active cell

    - `Z` undo most recent command mode action

    Shortcuts when in _edit mode_:
    ---

    - `Esc` takes you into command mode
    - `Tab` code completion (or indent if at start of line)
    - `Shift + Tab` tooltip help
    - `Ctrl + Shift + -` Split the active cell at the cursor
    - `Shift` + `Tab` tooltip help
    - `Ctrl` + `Shift` + `-` Split the active cell at the cursor

    The usual commands for code editors:

    - `Ctrl` + `]` indent
    - `Ctrl` + `[` dedent

    The usual commands for code editors;
    - `Ctrl` + `A` select all

    - `Ctrl + ]` indent
    - `Ctrl + [` dedent
    - `Ctrl + A` select all
    - `Ctrl + Z` undo
    - `Ctrl` + `Z` undo
  12. @discdiver discdiver revised this gist Jan 31, 2020. 1 changed file with 13 additions and 12 deletions.
    25 changes: 13 additions & 12 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,22 +4,23 @@ Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (insi
    ---
    - `Shift + Enter` run selected cells
    - `Ctrl + S` save and checkpoint
    - `Ctrl + B` toggles hide/show left sidebar

    Shortcuts when in _command mode_:
    ---

    - Scroll up with the up arrow key.
    - Scroll down with the down arrow key.
    - `A` insert a new cell above the active cell.
    - `B` insert a new cell below the active cell.
    - `M` make the active cell a Markdown cell.
    - `Y` make the active cell a code cell.
    - `X` cut the selected cell or cells.
    - `C` copy the selected cell or cells.
    - `V` paste the cell(s) which were copied or cut most recently.
    - `Shift + M` merge multiple selected cells into one cell.
    - `DD` (D twice) delete the active cell.
    - `Z` undo most recent command mode action.
    - Scroll up with the up arrow key
    - Scroll down with the down arrow key
    - `A` insert a new cell above the active cell
    - `B` insert a new cell below the active cell
    - `M` make the active cell a Markdown cell
    - `Y` make the active cell a code cell
    - `X` cut the selected cell or cells
    - `C` copy the selected cell or cells
    - `V` paste the cell(s) which were copied or cut most recently
    - `Shift + M` merge multiple selected cells into one cell
    - `DD` (D twice) delete the active cell
    - `Z` undo most recent command mode action

    Shortcuts when in _edit mode_:
    ---
  13. @discdiver discdiver revised this gist Jan 31, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@ Shortcuts when in _edit mode_:
    - `Esc` takes you into command mode
    - `Tab` code completion (or indent if at start of line)
    - `Shift + Tab` tooltip help
    - `Ctrl + Shift + -` Split the active cell at the cursor, press
    - `Ctrl + Shift + -` Split the active cell at the cursor

    The usual commands for code editors;

  14. @discdiver discdiver revised this gist Jan 30, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Note, if you are on a Mac, substitute `command` for `control`.
    Note, if you are on a Mac, substitute `command` for `control`. Don't type the `+` (it means press both keys at once).

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    @@ -17,6 +17,7 @@ Shortcuts when in _command mode_:
    - `X` cut the selected cell or cells.
    - `C` copy the selected cell or cells.
    - `V` paste the cell(s) which were copied or cut most recently.
    - `Shift + M` merge multiple selected cells into one cell.
    - `DD` (D twice) delete the active cell.
    - `Z` undo most recent command mode action.

    @@ -26,6 +27,7 @@ Shortcuts when in _edit mode_:
    - `Esc` takes you into command mode
    - `Tab` code completion (or indent if at start of line)
    - `Shift + Tab` tooltip help
    - `Ctrl + Shift + -` Split the active cell at the cursor, press

    The usual commands for code editors;

  15. @discdiver discdiver revised this gist Jan 30, 2020. 1 changed file with 14 additions and 14 deletions.
    28 changes: 14 additions & 14 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -12,24 +12,24 @@ Shortcuts when in _command mode_:
    - Scroll down with the down arrow key.
    - `A` insert a new cell above the active cell.
    - `B` insert a new cell below the active cell.
    -`M` make the active cell a Markdown cell.
    -`Y` make the active cell a code cell.
    -`X` cut the selected cell or cells.
    -`C` copy the selected cell or cells.
    -`V` paste the cell(s) which were copied or cut most recently.
    -`DD` (D twice) delete the active cell.
    -`Z` undo most recent command mode action.
    - `M` make the active cell a Markdown cell.
    - `Y` make the active cell a code cell.
    - `X` cut the selected cell or cells.
    - `C` copy the selected cell or cells.
    - `V` paste the cell(s) which were copied or cut most recently.
    - `DD` (D twice) delete the active cell.
    - `Z` undo most recent command mode action.

    Shortcuts when in _edit mode_:
    ---

    -`Esc` takes you into command mode
    -`Tab` code completion (or indent if at start of line)
    -`Shift + Tab` tooltip help
    - `Esc` takes you into command mode
    - `Tab` code completion (or indent if at start of line)
    - `Shift + Tab` tooltip help

    The usual commands for code editors;

    -`Ctrl + ]` indent
    -`Ctrl + [` dedent
    -`Ctrl + A` select all
    -`Ctrl + Z` undo
    - `Ctrl + ]` indent
    - `Ctrl + [` dedent
    - `Ctrl + A` select all
    - `Ctrl + Z` undo
  16. @discdiver discdiver revised this gist Jan 30, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -22,8 +22,8 @@ Shortcuts when in _command mode_:

    Shortcuts when in _edit mode_:
    ---
    -`Esc` takes you into command mode

    -`Esc` takes you into command mode
    -`Tab` code completion (or indent if at start of line)
    -`Shift + Tab` tooltip help

  17. @discdiver discdiver revised this gist Jan 30, 2020. 1 changed file with 20 additions and 21 deletions.
    41 changes: 20 additions & 21 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -2,35 +2,34 @@ Note, if you are on a Mac, substitute `command` for `control`.

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    `Shift + Enter` run selected cells
    `Ctrl + S` save and checkpoint
    - `Shift + Enter` run selected cells
    - `Ctrl + S` save and checkpoint

    Shortcuts when in _command mode_:
    ---

    Scroll up with the up arrow key.
    Scroll down with the down arrow key.

    `A` insert a new cell above the active cell.
    `B` insert a new cell below the active cell.
    `M` make the active cell a Markdown cell.
    `Y` make the active cell a code cell.
    `X` cut the selected cell or cells.
    `C` copy the selected cell or cells.
    `V` paste the cell(s) which were copied or cut most recently.
    `DD` (D twice) delete the active cell.
    `Z` undo most recent command mode action.
    - Scroll up with the up arrow key.
    - Scroll down with the down arrow key.
    - `A` insert a new cell above the active cell.
    - `B` insert a new cell below the active cell.
    -`M` make the active cell a Markdown cell.
    -`Y` make the active cell a code cell.
    -`X` cut the selected cell or cells.
    -`C` copy the selected cell or cells.
    -`V` paste the cell(s) which were copied or cut most recently.
    -`DD` (D twice) delete the active cell.
    -`Z` undo most recent command mode action.

    Shortcuts when in _edit mode_:
    ---
    `Esc` takes you into command mode
    -`Esc` takes you into command mode

    `Tab` code completion (or indent if at start of line)
    `Shift + Tab` tooltip help
    -`Tab` code completion (or indent if at start of line)
    -`Shift + Tab` tooltip help

    The usual commands for code editors;

    `Ctrl + ]` indent
    `Ctrl + [` dedent
    `Ctrl + A` select all
    `Ctrl + Z` undo
    -`Ctrl + ]` indent
    -`Ctrl + [` dedent
    -`Ctrl + A` select all
    -`Ctrl + Z` undo
  18. @discdiver discdiver created this gist Jan 30, 2020.
    36 changes: 36 additions & 0 deletions jupyterlab_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    Note, if you are on a Mac, substitute `command` for `control`.

    Shortcuts when in either _command mode_ (outside the cells) or _edit mode_ (inside a cell):
    ---
    `Shift + Enter` run selected cells
    `Ctrl + S` save and checkpoint

    Shortcuts when in _command mode_:
    ---

    Scroll up with the up arrow key.
    Scroll down with the down arrow key.

    `A` insert a new cell above the active cell.
    `B` insert a new cell below the active cell.
    `M` make the active cell a Markdown cell.
    `Y` make the active cell a code cell.
    `X` cut the selected cell or cells.
    `C` copy the selected cell or cells.
    `V` paste the cell(s) which were copied or cut most recently.
    `DD` (D twice) delete the active cell.
    `Z` undo most recent command mode action.

    Shortcuts when in _edit mode_:
    ---
    `Esc` takes you into command mode

    `Tab` code completion (or indent if at start of line)
    `Shift + Tab` tooltip help

    The usual commands for code editors;

    `Ctrl + ]` indent
    `Ctrl + [` dedent
    `Ctrl + A` select all
    `Ctrl + Z` undo