7. Keyboard Shortcuts

General

Action

Shortcut

Open Preferences

Command-,

New Folder

Shift-Command-N

New Nested Folder

Option-Shift-Command-N

New Smart Group

Control-Command-N

New Snippet

Command-N

New Snippet from Clipboard

Option-Command-N

New Fragment

Command-T

New Fragment from Clipboard

Option-Command-T

Delete

Command-Delete

Save Immediately

Command-S

Print

Command-P

Find in Library

Shift-Command-F

Copy Current Snippet

Option-Command-C

Copy Current Snippet Link

Control-Option-Command-C

Toggle Main Window

(user specified)

Toggle SnippetsLab Assistant

(user specified)

Text Editing

Action

Shortcut

Paste and Preserve Formatting

Option-Shift-Command-V

Duplicate Lines

Command-D

Shift Right / Indent

Command-] or Tab

Shift Left / Un-indent

Command-[ or Shift-Tab

Toggle Comment

Command-/

Format Code

Control-Command-\

Strip Trailing Whitespaces

Control-Command-W

Convert Indentation to Spaces

Control-Command-S

Convert Indentation to Tabs

Control-Command-T

Text Editing (Markdown)

Action

Shortcut

Toggle Strong

Command-B

Toggle Emphasize (Italic)

Command-I

Toggle Inline Code

Command-`

Toggle Subscript

Control-Command-

Toggle Superscript

Control-Command-+ or Control-Command-Shift-=

Toggle Heading 1~6

Option-Command-1 ~ Option-Command-6

Insert Link

Command-K

UI Navigation

Action

Shortcut

Toggle Sidebar

Shift-Command-L

Move Focus to Sidebar

Control-1

Move Focus to Snippets List

Control-2

Move Focus to Editor

Control-3

Move Focus to Preview

Control-4

Insert Search Filter (Search Field)

Option-Esc

Go Back

Control-Command-◀︎

Go Forward

Control-Command-▶︎

Editor

Action

Shortcut

Show Next Fragment

Shift-Command-[

Show Previous Fragment

Shift-Command-]

Jump to Fragment 1~9

Command-1 ~ Command-9

Move Fragment Right

Option-Shift-Command-[

Move Fragment Left

Option-Shift-Command-]

Rename Fragment

Option-Shift-Command-T

Delete Fragment

Option-Shift-Command-Delete

Toggle Markdown Preview

Shift-Command-M

Toggle Soft Wrap Lines

Shift-Command-W

Make Font Bigger (Editor)

Command-+

Make Font Smaller (Editor)

Command-

Zoom In (Preview)

Command-+

Zoom Out (Preview)

Command-

Reset Zoom (Preview)

Command-0

SnippetsLab Assistant

Action

Shortcut

Open Browse

Shift-Command-1

Open Create

Shift-Command-2

Open Main Window

Shift-Command-3

Scroll List Up

Fn-

Scroll List Down

Fn-

Jump to Top

Command-

Jump to Bottom

Command-

Jump to Previous Page

Option-

Jump to Next Page

Option-

Jump to Fragment 1~9 (Quick Look)

Command-1 ~ Command-9

Quick Look

▶︎

Copy Snippet/Fragment

Command-C

Activate Primary Action

Return

Activate Command Action

Command-Return

Activate Alternate Action

Option-Return

Tip

It is possible to change the keyboard shortcuts defined by SnippetsLab or add new keyboard shortcuts, as long as the action is listed in the menu bar. For detailed instructions, please refer to Create keyboard shortcuts for apps.