# Keyboard Shortcuts

## Tab Management

| Shortcut | Action |
|----------|--------|
| Ctrl+T | New tab (open file dialog) |
| Ctrl+W | Close current tab |
| Ctrl+Tab | Next tab |
| Ctrl+Shift+Tab | Previous tab |
| Ctrl+1-9 | Switch to tab 1-9 |

## File Operations

| Shortcut | Action |
|----------|--------|
| Ctrl+O | Open file dialog |
| F5 | Toggle file watching |
| Ctrl+Q | Quit application |

## Navigation

| Shortcut | Action |
|----------|--------|
| Alt+Left | Navigate back in history |
| Alt+Right | Navigate forward in history |
| Click link | Navigate in current tab |
| Ctrl+Click link | Open link in new tab |

## Search

| Shortcut | Action |
|----------|--------|
| Ctrl+F | Open find bar (or refocus the input if already open) |
| Enter or ↓ | Jump to the next match in the current document |
| Shift+Enter or ↑ | Jump to the previous match in the current document |
| Esc | Close the find bar and clear highlights |

The find bar also has on-screen `↑` and `↓` buttons next to the match count for mouse navigation.

## View

| Shortcut | Action |
|----------|--------|
| Ctrl+D | Toggle dark/light mode |
| Ctrl+Shift+E | Toggle file explorer |
| Ctrl+Shift+O | Toggle outline sidebar |
| Ctrl++ / Ctrl+= | Zoom in |
| Ctrl+- | Zoom out |
| Ctrl+0 | Reset zoom to 100% |
| Ctrl+Scroll | Zoom in/out with mouse wheel |
