Keyboard Shortcuts
⌘ is Command. A couple of tab-strip shortcuts deliberately use a literal Control instead — see the note below the table.
File
| Shortcut | Action |
|---|
⌘N | New tab |
⌘O | Open… |
⌘S | Save |
⌘⇧S | Save As… |
⌘W | Close tab |
⌘, | Preferences |
⌘Q | Quit |
Edit
| Shortcut | Action |
|---|
⌘Z | Undo |
⌘⇧Z | Redo |
⌘X | Cut |
⌘C | Copy |
⌘V | Paste |
⌘A | Select All |
⌘F | Find |
⌘G | Go to Line |
⌘/ | Toggle line comment |
Tabs
| Shortcut | Action |
|---|
⌘T | New tab (macOS convention) |
Ctrl+Tab | Next tab |
Ctrl+Shift+Tab | Previous tab |
Ctrl+Tab/Ctrl+Shift+Tab use a literal Control key on every platform, including macOS — ⌘Tab is reserved by the OS for the app switcher, so Nib follows the same convention as browsers and VS Code for cycling through tabs.
View / Zoom
| Shortcut | Action |
|---|
⌘= | Zoom in (current tab) |
⌘− | Zoom out (current tab) |
⌘0 | Reset zoom (current tab) |
Find bar
| Shortcut | Action |
|---|
Enter (in Find field) | Jump to next match |
Enter (in Replace field) | Replace current match |
Escape | Close the find bar |