This article provides Mac and Windows keyboard shortcuts for working in Habitat.
See Chrome keyboard shortcuts here.
Application
| Action | Mac | Windows |
|---|---|---|
| Redo | Command + Shift + Z | Ctrl + Y |
| Save changes | Command + S | Ctrl + S |
| Undo |
Command + U or Command + Z |
Ctrl + Z |
| Accept changes |
Command + Enter or Shift + Enter |
Shift + Enter |
| Discard changes | Escape | Escape |
Comments
| Action | Mac | Windows |
|---|---|---|
| Expand next or previous comment |
Command + Option + [ or Command + Option + ] |
Ctrl + Alt + [ or Ctrl + Alt + ] |
| Create comment on the selection | Command + Option + T | Ctrl + Alt + T |
| Comment mode toggle | Command + M | Ctrl + M |
| Preview mode toggle | Command + Option + P | Ctrl + Alt + P |
Formatting
| Action | Mac | Windows |
|---|---|---|
| Bold | Command + B | Ctrl + B |
| Italic | Command + I | Ctrl + I |
| Underline | Command + U | Ctrl + U |
| Insert link | Command + K | Ctrl + K |
| Insert glossary term | Option + Command + G | Alt + Ctrl + G |
| Insert annotation | Option + Command + A | Alt + Ctrl + A |
| Insert line break | Shift + Enter | Shift + Enter |
| Single quote open (‘) | Option + ] | Alt + 0145 |
| Single quote close (’) | Shift + Option + ] | Alt + 0146 |
| Double quote open (“) | Option + [ | Alt + 0147 |
| Double quote close (”) | Shift + Option + [ | Alt + 0148 |
When using four-digit character codes in Windows, check that Num Lock is active on the numeric keypad.
Navigation
| Action | Mac | Windows |
|---|---|---|
| Move between elements |
Arrow Keys (← ↑ → ↓) |
Arrow Keys (← ↑ → ↓) |
| Move to the top or bottom of the page |
Command + ↑ or Command + ↓ |
Ctrl + ↑ or Ctrl + ↓ |
Selection
| Action | Mac | Windows |
|---|---|---|
| Change selection to the parent element | Curser left | Curser left |
| Change selection to the first child element | Curser right | Curser right |
| Change selection to the previous sibling element (or to the parent element if the first child of that parent is already selected) | Curser up | Curser up |
| Change selection to the next sibling element (or to the parent element if the last child of that parent is already selected) | Curser down | Curser down |
| Select the parent element for the cursor location | Command + Enter | Ctrl + Enter |