Skip to content

Editor shortcuts ​

The editor claims the shortcut that is actually free in Canoryn rather than the one another editor uses, and says why. Where a shortcut differs from VS Code or Xcode, the reason is in the last column.

ActionShortcutNote
Find in file⌘FWorks in read-only files too
Find next⌘G
Find previous⇧⌘G
Go to line⌘L
Go to symbol⇧⌘OAs VS Code
Find in project⌥⌘F⇧⌘F is Focus Mode
Jump to matching bracket⌃M
Select enclosing block⇧⌃M
Next change⌃⌥↓ or ⌃⌥]As Xcode; wraps at the end
Previous change⌃⌥↑ or ⌃⌥[As Xcode
Open the change at the caret⌥⏎Or click its mark in the gutter
Go to definition⌘-clickNeeds a language server

Folding ​

ActionShortcutNote
Fold / unfold block at caret⌥⌘← or ⌥⌘→As Xcode
Fold / unfoldgutter chevron
Unfoldclick the folded badge

Selection and carets ​

ActionShortcutNote
Add caret⌘-click
Select next occurrence⌘DAs VS Code
Select all occurrences⇧⌘LAs VS Code
Edit all in scope⌃⌘EAs Xcode; local, text-based
Rename symbol across project⌃⌘RNeeds a server; shows a plan first

Editing ​

ActionShortcutNote
Toggle line comment⌘/
Duplicate line / selection⇧⌥↓ or ⇧⌥↑⇧⌘D is Show Debug
Move line up / down⌥⌘↑ / ⌥⌘↓
Toggle block comment⇧⌥AAs VS Code
Delete line⇧⌘KAs VS Code
Join lines⌃JAs VS Code
Format document⇧⌥FAs VS Code
Expand snippetTabAfter its prefix
Next snippet fieldTab
Save⌘S

Git ​

ActionShortcutNote
Next / previous change⌃⌥↓ / ⌃⌥↑
Open the change at the caret⌥⏎Revert, Stage, Commit, Copy on its card
Step between changes on the card↑ / ↓
Close the cardEsc

Markdown documents ​

In Edit mode of a Markdown file (Documents):

ActionShortcutNote
Bold / italic⌘B / ⌘I
Inline code⌘E
Link⌘KUses a URL on the clipboard
Strikethrough⇧⌘X
Highlight⇧⌘H==text==
Heading 1–6⌥⌘1 … ⌥⌘6Again removes it
Body text⌥⌘0
Bulleted / numbered list⇧⌘8 / ⇧⌘7
Quote⇧⌘9
To-do⌘↩Ticks it when it is one
Comment on the selection⌥⌘M
Insert a block/At the start of a line or after a space
Select the blockEscThen ↑ ↓, ⇧↑ ⇧↓ to extend, ⌫ to delete
Move block up / down⇧⌘↑ / ⇧⌘↓
Duplicate block⌘D
Save / undo / redo⌘S / ⌘Z / ⇧⌘ZThis editor's own history

Project ​

ActionShortcutNote
Run project check⇧⌘BAs VS Code's build task; ⌘B is the left panel

Review ​

ActionInputNote
Reveal 20 lines from the top of a runclick ↓
Reveal 20 lines from the bottomclick ↑
Reveal 20 each wayclick the count
Open / close from the topdrag the band's top edge⇣ opens, up closes
Open / close from the bottomdrag the band's bottom edge⇡ opens, down closes
Fold a fully opened runclick Collapse …
Comment on a lineclick + in the gutter
Comment on a selectionselect, then Add comment
Collapse / expand a fileclick its header

See the code editor, language servers and reviewing a diff guides for what each of these does.