description
A quick reference guide to all the keyboard shortcuts available in GitBook
icon
keyboard
Shortcut keys allow easy and quick methods for navigating or editing content.
Hello world
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 panels Esc Esc
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 Duplicate selected block(s) ⌘ + D Ctrl + D 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)Select 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)
Paragraph & heading blocks
Description Mac Windows Turn into a paragraph ⌘ + ⌥ + 0 Ctrl + Alt + 0 Turn into a heading 1 ⌘ + ⌥ + 1 Ctrl + Alt + 1 Turn into a heading 2 ⌘ + ⌥ + 2 Ctrl + Alt + 2 Turn into a heading 3 ⌘ + ⌥ + 3 Ctrl + Alt + 3
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 + -
Description Mac Windows Increase indentation level Tab Tab Decrease indentation level Shift + Tab Shift + Tab