# Keyboard Shortcuts This guide lists all keyboard shortcuts available in GitHub Commander for power users. ## Global Shortcuts | Action | Shortcut | Description | |--------|----------|-------------| | New Repository | `Ctrl+N` | Create a new repository | | Settings | `Ctrl+,` | Open settings dialog | | Refresh | `F5` | Refresh current view | | Quit | `Ctrl+Q` | Quit application | ## File Operations | Action | Shortcut | Description | |--------|----------|-------------| | New File | `Ctrl+Shift+N` | Create new file | | Open File | `Ctrl+O` | Open file in editor | | Save File | `Ctrl+S` | Save current file | | Close Tab | `Ctrl+W` | Close current tab | | Close All | `Ctrl+Shift+W` | Close all tabs | ## Git Operations | Action | Shortcut | Description | |--------|----------|-------------| | Commit | `Ctrl+Enter` | Commit staged changes | | Push | `Ctrl+P` | Push to remote | | Pull | `Ctrl+L` | Pull from remote | | Fetch | `Ctrl+F` | Fetch from remote | | Stage All | `Ctrl+A` | Stage all changes | | Unstage All | `Ctrl+Shift+A` | Unstage all changes | ## Navigation | Action | Shortcut | Description | |--------|----------|-------------| | Next Tab | `Ctrl+Tab` | Switch to next tab | | Previous Tab | `Ctrl+Shift+Tab` | Switch to previous tab | | Go to Git Panel | `Alt+1` | Switch to Git panel | | Go to GitHub Browser | `Alt+2` | Switch to GitHub file browser | | Go to Local Browser | `Alt+3` | Switch to local file browser | | Go to Wiki Panel | `Alt+4` | Switch to Wiki panel | | Go to Pages Panel | `Alt+5` | Switch to Pages panel | | Go to Packages Panel | `Alt+6` | Switch to Packages panel | | Go to Releases Panel | `Alt+7` | Switch to Releases panel | ## Editing | Action | Shortcut | Description | |--------|----------|-------------| | Cut | `Ctrl+X` | Cut selected text | | Copy | `Ctrl+C` | Copy selected text | | Paste | `Ctrl+V` | Paste clipboard content | | Undo | `Ctrl+Z` | Undo last action | | Redo | `Ctrl+Shift+Z` | Redo last action | | Find | `Ctrl+F` | Find in current file | | Replace | `Ctrl+H` | Find and replace | | Select All | `Ctrl+A` | Select all text | ## Search | Action | Shortcut | Description | |--------|----------|-------------| | Quick Search | `Ctrl+K` | Quick search repositories | | Search Files | `Ctrl+Shift+F` | Search in files | | Go to Line | `Ctrl+G` | Go to specific line | ## Panel Specific ### Git Panel | Action | Shortcut | Description | |--------|----------|-------------| | Create Branch | `Ctrl+B` | Create new branch | | Checkout Branch | `Ctrl+Shift+B` | Checkout branch | | Show Status | `Ctrl+I` | Show git status | ### File Browser | Action | Shortcut | Description | |--------|----------|-------------| | Upload | `Ctrl+U` | Upload selected files | | Download | `Ctrl+D` | Download selected files | | Delete | `Delete` | Delete selected files | | Rename | `F2` | Rename selected item | | Properties | `Alt+Enter` | Show properties | ### Wiki Panel | Action | Shortcut | Description | |--------|----------|-------------| | New Page | `Ctrl+Shift+N` | Create new wiki page | | Save Page | `Ctrl+S` | Save current page | | Preview | `Ctrl+R` | Preview page | ### Pages Panel | Action | Shortcut | Description | |--------|----------|-------------| | Deploy | `Ctrl+D` | Deploy to Pages | | Generate Workflow | `Ctrl+G` | Generate workflow | ## Window Management | Action | Shortcut | Description | |--------|----------|-------------| | Fullscreen | `F11` | Toggle fullscreen | | Minimize | `Ctrl+M` | Minimize window | | Maximize | `Ctrl+Shift+M` | Maximize window | ## Customizing Shortcuts Currently, GitHub Commander does not support custom keyboard shortcuts. This feature may be added in future versions. ## Tips for Using Shortcuts 1. **Memorize frequently used shortcuts** - Focus on the ones you use most 2. **Use navigation shortcuts** - Alt+number keys for quick panel switching 3. **Combine with mouse** - Use shortcuts for common actions, mouse for navigation 4. **Practice makes perfect** - Regular use builds muscle memory ## Missing Shortcuts If you find a shortcut missing that would be useful: 1. Check if the action exists in the menu 2. Consider opening an issue on GitHub 3. The feature may be added in future releases ## Platform Differences These shortcuts are designed for Linux. On other platforms: - **macOS**: Replace `Ctrl` with `Cmd` (⌘) - **Windows**: Shortcuts should work as listed Note: GitHub Commander is currently Linux-only.