Keyboard Shortcuts
Master ByteBuddy with these essential keyboard shortcuts designed to boost your productivity and streamline your AI-assisted development workflow.
General Shortcuts
Opening ByteBuddy
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+B | Open ByteBuddy | Quick access to ByteBuddy panel |
Cmd+Shift+B | Open ByteBuddy | macOS equivalent |
Ctrl+Alt+B | Toggle ByteBuddy | Show/hide ByteBuddy panel |
Cmd+Option+B | Toggle ByteBuddy | macOS equivalent |
Chat Interface
| Shortcut | Action | Description |
|---|---|---|
Enter | Send Message | Submit your query to ByteBuddy |
Shift+Enter | New Line | Add a line break in your message |
Esc | Close Chat | Close the chat interface |
Ctrl+L | Clear Chat | Clear conversation history |
Cmd+L | Clear Chat | macOS equivalent |
Code Interaction
Code Selection
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+C | Select Code | Select current line or highlighted code |
Cmd+Shift+C | Select Code | macOS equivalent |
Ctrl+Alt+C | Copy Code | Copy selected code to clipboard |
Cmd+Option+C | Copy Code | macOS equivalent |
Ctrl+Shift+V | Paste Code | Paste code from clipboard |
Cmd+Shift+V | Paste Code | macOS equivalent |
Code Actions
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+E | Explain Code | Ask ByteBuddy to explain selected code |
Cmd+Shift+E | Explain Code | macOS equivalent |
Ctrl+Shift+F | Find in Code | Search for patterns in codebase |
Cmd+Shift+F | Find in Code | macOS equivalent |
Ctrl+Shift+R | Refactor Code | Request code refactoring suggestions |
Cmd+Shift+R | Refactor Code | macOS equivalent |
Ctrl+Shift+T | Generate Tests | Create tests for selected code |
Cmd+Shift+T | Generate Tests | macOS equivalent |
File Operations
File Management
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+N | New File | Create a new file |
Cmd+Shift+N | New File | macOS equivalent |
Ctrl+O | Open File | Open an existing file |
Cmd+O | Open File | macOS equivalent |
Ctrl+S | Save File | Save current file |
Cmd+S | Save File | macOS equivalent |
Ctrl+Shift+S | Save As | Save file with new name |
Cmd+Shift+S | Save As | macOS equivalent |
File Navigation
| Shortcut | Action | Description |
|---|---|---|
Ctrl+P | Quick Open | Quickly open files by name |
Cmd+P | Quick Open | macOS equivalent |
Ctrl+Tab | Switch Files | Cycle through open files |
Cmd+Tab | Switch Files | macOS equivalent |
Ctrl+W | Close File | Close current file |
Cmd+W | Close File | macOS equivalent |
Ctrl+Shift+W | Close All | Close all open files |
Cmd+Shift+W | Close All | macOS equivalent |
Editing Shortcuts
Text Editing
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Z | Undo | Undo last action |
Cmd+Z | Undo | macOS equivalent |
Ctrl+Y | Redo | Redo last undone action |
Cmd+Y | Redo | macOS equivalent |
Ctrl+X | Cut | Cut selected text |
Cmd+X | Cut | macOS equivalent |
Ctrl+C | Copy | Copy selected text |
Cmd+C | Copy | macOS equivalent |
Ctrl+V | Paste | Paste from clipboard |
Cmd+V | Paste | macOS equivalent |
Advanced Editing
| Shortcut | Action | Description |
|---|---|---|
Ctrl+D | Duplicate Line | Duplicate current line |
Cmd+D | Duplicate Line | macOS equivalent |
Ctrl+Shift+D | Delete Line | Delete current line |
Cmd+Shift+D | Delete Line | macOS equivalent |
Ctrl+/ | Toggle Comment | Comment/uncomment selected lines |
Cmd+/ | Toggle Comment | macOS equivalent |
Ctrl+Shift+Up | Move Line Up | Move current line up |
Cmd+Shift+Up | Move Line Up | macOS equivalent |
Ctrl+Shift+Down | Move Line Down | Move current line down |
Cmd+Shift+Down | Move Line Down | macOS equivalent |
AI Assistance
Quick Actions
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+I | Inline Assist | Get inline AI suggestions |
Cmd+Shift+I | Inline Assist | macOS equivalent |
Ctrl+Shift+G | Generate Code | Generate code based on description |
Cmd+Shift+G | Generate Code | macOS equivalent |
Ctrl+Shift+Q | Quick Question | Ask a quick question |
Cmd+Shift+Q | Quick Question | macOS equivalent |
Ctrl+Shift+M | Model Selector | Switch between AI models |
Cmd+Shift+M | Model Selector | macOS equivalent |
Context Actions
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+K | Knowledge Base | Access documentation and knowledge |
Cmd+Shift+K | Knowledge Base | macOS equivalent |
Ctrl+Shift+H | History | View conversation history |
Cmd+Shift+H | History | macOS equivalent |
Ctrl+Shift+J | Jump to Code | Navigate to referenced code |
Cmd+Shift+J | Jump to Code | macOS equivalent |
Ctrl+Shift+U | Update Context | Refresh code context |
Cmd+Shift+U | Update Context | macOS equivalent |
Search and Navigation
Search Functions
| Shortcut | Action | Description |
|---|---|---|
Ctrl+F | Find | Search in current file |
Cmd+F | Find | macOS equivalent |
Ctrl+H | Replace | Replace text in current file |
Cmd+H | Replace | macOS equivalent |
Ctrl+Shift+H | Replace All | Replace all instances |
Cmd+Shift+H | Replace All | macOS equivalent |
F3 | Find Next | Navigate to next match |
Shift+F3 | Find Previous | Navigate to previous match |
Navigation
| Shortcut | Action | Description |
|---|---|---|
Ctrl+G | Go to Line | Jump to specific line number |
Cmd+G | Go to Line | macOS equivalent |
Ctrl+Shift+O | Outline | Show file structure outline |
Cmd+Shift+O | Outline | macOS equivalent |
Ctrl+Shift+P | Command Palette | Access all commands |
Cmd+Shift+P | Command Palette | macOS equivalent |
F2 | Rename Symbol | Rename variable/function across files |
Shift+F2 | Find References | Find all references to symbol |
Debugging
Debug Actions
| Shortcut | Action | Description |
|---|---|---|
F5 | Start Debugging | Begin debugging session |
F9 | Toggle Breakpoint | Set/remove breakpoint |
F10 | Step Over | Execute next line |
F11 | Step Into | Enter function call |
Shift+F11 | Step Out | Exit current function |
Ctrl+Shift+F5 | Restart Debugging | Restart debug session |
Cmd+Shift+F5 | Restart Debugging | macOS equivalent |
Shift+F5 | Stop Debugging | End debug session |
Version Control
Git Operations
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+G | Git Panel | Open Git integration panel |
Cmd+Shift+G | Git Panel | macOS equivalent |
Ctrl+Enter | Commit | Commit staged changes |
Cmd+Enter | Commit | macOS equivalent |
Ctrl+Shift+Enter | Commit and Push | Commit and push changes |
Cmd+Shift+Enter | Commit and Push | macOS equivalent |
Ctrl+Shift+R | Refresh | Refresh Git status |
Cmd+Shift+R | Refresh | macOS equivalent |
Customization
User Preferences
| Shortcut | Action | Description |
|---|---|---|
Ctrl+, | Settings | Open preferences/settings |
Cmd+, | Settings | macOS equivalent |
Ctrl+K Ctrl+S | Keyboard Shortcuts | Open shortcuts editor |
Cmd+K Cmd+S | Keyboard Shortcuts | macOS equivalent |
Ctrl+K Ctrl+T | Themes | Open theme selector |
Cmd+K Cmd+T | Themes | macOS equivalent |
IDE-Specific Shortcuts
Visual Studio Code
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+X | Extensions | Open extensions panel |
Cmd+Shift+X | Extensions | macOS equivalent |
Ctrl+Shift+Y | Debug Console | Open debug console |
Cmd+Shift+Y | Debug Console | macOS equivalent |
Ctrl+Shift+U | Output Panel | Open output panel |
Cmd+Shift+U | Output Panel | macOS equivalent |
Ctrl+Shift+V | Markdown Preview | Preview markdown file |
Cmd+Shift+V | Markdown Preview | macOS equivalent |
JetBrains IDEs
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Alt+S | Settings | Open settings dialog |
Cmd+, | Settings | macOS equivalent |
Ctrl+Shift+A | Find Action | Search for any action |
Cmd+Shift+A | Find Action | macOS equivalent |
Ctrl+Shift+F12 | Toggle Distraction Free | Enter/exit distraction-free mode |
Cmd+Shift+F12 | Toggle Distraction Free | macOS equivalent |
Ctrl+Alt+L | Reformat Code | Format selected code |
Cmd+Alt+L | Reformat Code | macOS equivalent |
Advanced Shortcuts
Multi-Cursor Editing
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Alt+Up | Add Cursor Above | Add cursor to line above |
Cmd+Option+Up | Add Cursor Above | macOS equivalent |
Ctrl+Alt+Down | Add Cursor Below | Add cursor to line below |
Cmd+Option+Down | Add Cursor Below | macOS equivalent |
Ctrl+Shift+L | Select All Occurrences | Select all instances of word |
Cmd+Shift+L | Select All Occurrences | macOS equivalent |
Alt+Click | Add Cursor | Add cursor at clicked position |
Option+Click | Add Cursor | macOS equivalent |
Column Selection
| Shortcut | Action | Description |
|---|---|---|
Ctrl+Shift+Alt+Up | Column Select Up | Select column upwards |
Cmd+Shift+Option+Up | Column Select Up | macOS equivalent |
Ctrl+Shift+Alt+Down | Column Select Down | Select column downwards |
Cmd+Shift+Option+Down | Column Select Down | macOS equivalent |
Ctrl+Shift+Alt+Left | Column Select Left | Select column leftwards |
Cmd+Shift+Option+Left | Column Select Left | macOS equivalent |
Ctrl+Shift+Alt+Right | Column Select Right | Select column rightwards |
Cmd+Shift+Option+Right | Column Select Right | macOS equivalent |
Custom Shortcuts
Creating Custom Shortcuts
You can customize shortcuts in your settings:
json
// VS Code keybindings.json
[
{
"key": "ctrl+shift+a",
"command": "bytebuddy.askQuestion",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+a",
"command": "bytebuddy.askQuestion",
"when": "editorTextFocus"
}
]Best Practices for Customization
- Avoid Conflicts: Don't override essential IDE shortcuts
- Be Consistent: Use similar patterns for related actions
- Platform Awareness: Consider both Windows/Linux and macOS users
- Document Changes: Keep track of your custom shortcuts
Learning and Mastery
Memorization Tips
- Start with Essentials: Master the most frequently used shortcuts first
- Practice Regularly: Use shortcuts consistently in daily work
- Print Cheat Sheets: Keep a printed reference nearby
- Gradual Expansion: Add new shortcuts to your repertoire over time
Muscle Memory Development
- Deliberate Practice: Consciously use shortcuts instead of mouse
- Consistent Environment: Use the same shortcuts across projects
- Repetition: Repeat key combinations until they become automatic
- Feedback: Notice when you're faster and more efficient
Troubleshooting
Common Issues
Shortcut Not Working
- Check Conflicts: Verify shortcut isn't used by another command
- Restart IDE: Sometimes a restart resolves shortcut issues
- Check Settings: Ensure ByteBuddy extension is properly installed
- Update Extension: Make sure you're using the latest version
Platform Differences
- Mac vs PC: Remember
CmdvsCtrl,OptionvsAlt - Function Keys: Some laptops require
Fnkey for function keys - Custom Keymaps: Some IDEs have different default keymaps
Resetting Shortcuts
If shortcuts become corrupted:
bash
# For VS Code, reset keybindings
# File → Preferences → Keyboard Shortcuts → Reset Keybindings
# For JetBrains, reset keymap
# File → Settings → Keymap → Reset to DefaultProductivity Boosters
Essential Shortcut Combinations
Ctrl+Shift+B→ Ask question about selected codeCtrl+Shift+R→ Refactor selected codeCtrl+Shift+T→ Generate tests for functionCtrl+Shift+E→ Explain complex code blockCtrl+Shift+G→ Generate code from description
Workflow Optimization
- Chain Shortcuts: Combine multiple shortcuts for complex tasks
- Context Awareness: Use different shortcuts for different contexts
- Speed vs Accuracy: Balance speed with precision
- Personal Style: Adapt shortcuts to your working style
Next Steps
After mastering these keyboard shortcuts, explore these related guides:
- Understanding Configs - Customize ByteBuddy to your workflow
- Plan Mode Guide - Use advanced planning features
- Continuous AI - Automate development workflows