Keyboard shortcuts

A quick reference guide to all the keyboard shortcuts available in GitBook

Shortcut keys allow easy and quick methods for navigating or editing content.

In published documentation

Description
Mac
Windows

Open the Ask or search panel

+K

Ctrl+K

Open the GitBook Assistant chat window

+I

Ctrl+I

Close the Ask or search or GitBook Assistant panel

Esc

Esc

In the GitBook app

Description
Mac
Windows

Copy

+C

Ctrl+C

Paste

+V

Ctrl+V

Paste as text, without formatting

+Shift+V

Ctrl+Shift+V

Undo

+Z

Ctrl+Z

Redo

+Shift+Z

Ctrl+Shift+Z

Exit from content block (code, tabs, table, quote ...)

+Enter

Ctrl+Enter

Open block-insert palette.

/

/

Open block-modifier palette.

+/

Ctrl+/

Toggle bold

+B

Ctrl+B

Toggle italic

+I

Ctrl+I

Toggle strikethrough

+Shift+S

Ctrl+Shift+S

Toggle inline code

+E

Ctrl+E

Insert or toggle link

+K (in the editor)

Ctrl+K (in the editor)

In a list, increase item indent level.

In a code block, increase indentation level.

Tab

Tab

In a list, decrease item indent level.

In a code block, decrease indentation level.

Shift+Tab

Shift+Tab

Selects the entire block

Esc

Esc

Close a dialog or the search panel

Esc (navigation)

Esc (navigation)

Open the Ask or search panel

+K (outside the editor)

Ctrl+K (outside the editor)

Block-specific shortcuts

Table

Description
Mac
Windows

Insert a row below

+ Shift + Enter

Alt + Shift + Enter

Insert a row above

+ Enter

Alt + Enter

Move to next row

Enter

Enter

Insert new line within a text cell

Shift + Enter

Shift + Enter

Delete row

+ -

Ctrl + -

Last updated

Was this helpful?