7. Keyboard ShortcutsΒΆ

Note: It is possible to change the keyboard shortcuts defined by SnippetsLab, as long as the action is listed in the main menu. For detailed instructions, please refer to the Apple support article Create keyboard shortcuts for apps.

General

Action

Shortcut

Open Preferences

Command-Comma (,)

New Folder

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-S

Copy Current Snippet

Shift-Command-C

Toggle Sidebar

Shift-Command-L

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 (with selection)

Shift Left / Un-indent

Command-[ or Shift-Tab (with selection)

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-Minus (-)

Toggle Superscript

Control-Command-Plus (+) (or Control-Command-Shift-=)

Toggle Heading 1~6

Option-Command-1~6

Insert Link

Command-K

UI Navigation

Action

Shortcut

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

Go Back

Control-Command-Left

Go Forward

Control-Command-Right

Show Next Fragment

Shift-Command-[

Show Previous Fragment

Shift-Command-]

Jump to Fragment

Command-1~9 (for first 9 fragments)

Scroll List Up

Fn+Up

Scroll List Down

Fn+Down

Jump to Top

Command+Up

Jump to Bottom

Command+Down

Jump to Previous Page

Option+Up

Jump to Next Page

Option+Down

Editor

Action

Shortcut

Move Fragment Right

Shift-Option-Command-[

Move Fragment Left

Shift-Option-Command-]

Rename Fragment

Option-Shift-Command-T

Delete Fragment

Option-Shift-Command-Delete

Toggle Markdown Preview

Shift-Command-M

Toggle Soft Wrap

Shift-Command-W

Make Font Bigger (Editor)

Command-Plus (+)

Make Font Smaller (Editor)

Command-Minus (-)

Zoom In (Preview)

Command-Plus (+)

Zoom Out (Preview)

Command-Minus (-)

Reset Zoom (Preview)

Command-0