Keybindings
Relevant source files
The following files were used as context for generating this wiki page:
Keybindings provide a method for users to trigger application and editor commands through specific keyboard combinations. This system allows for faster navigation and operation by mapping favorite commands to physical or virtual keyboard inputs.
Sources: user-guide/keybindings.md:1-5, tutorials/command-palette.md:1-10
Configuration and Customization
Users customize shortcuts via the App Settings menu. This interface allows mapping specific key combinations to both application-level actions and editor-specific functions.
| Location | Action |
|---|---|
| Settings > App Settings | Access the primary Keybindings configuration interface. |
| Settings > Edit settings.json | Manually edit the JSON file containing keybinding definitions. |
Sources: user-guide/settings/app-settings.md:46-47, user-guide/settings.md:28, user-guide/keybindings.md:7-9
Keybinding Interaction Flow
The following diagram illustrates how a user accesses and modifies a keybinding within the application settings.
The diagram shows the sequence from opening settings to saving a customized key mapping.
Sources: user-guide/settings.md:20-22, user-guide/settings/app-settings.md:46-47, user-guide/settings.md:28
Core System Shortcuts
The application defines several global shortcuts for essential navigation and command execution.
| Shortcut | Action | Component |
|---|---|---|
Ctrl + Shift + P | Open Command Palette | Global/Command Palette |
Ctrl + , | Open Settings | Global/Settings |
Ctrl + Shift + C | Copy text | Terminal |
Ctrl + Shift + V | Paste text | Terminal |
Ctrl + K | Open Terminal | Global/Terminal |
Sources: user-guide/settings.md:14, user-guide/command-palette.md:10, user-guide/terminal.md:104-105, tutorials/how-to-run-java.md:143
Mobile and Virtual Keyboards
Mobile devices utilize the QuickTools bar to simulate modifier keys and trigger shortcuts when a physical keyboard is absent.
QuickTools Integration
QuickTools provides dedicated buttons for Ctrl, Tab, and Esc. Users trigger shortcuts by tapping a modifier key in QuickTools (like Ctrl) and then using the on-screen keyboard for the primary key.
Sources: user-guide/quicktools.md:12-16, user-guide/command-palette.md:15-19
Triggering a Shortcut on Mobile
The following sequence shows how a virtual keypress combines with the editor to execute a command.
This diagram demonstrates the interaction between virtual modifier buttons and the standard mobile keyboard.
Sources: user-guide/command-palette.md:15-22, user-guide/quicktools.md:12-16
Component Specific Bindings
Terminal Bindings
The terminal environment uses specific combinations for clipboard operations to avoid conflicts with standard shell signals.
- Copy:
Ctrl + Shift + C - Paste:
Ctrl + Shift + V
Sources: user-guide/terminal.md:104-105
Command Palette
The Command Palette serves as an alternative to keybindings. If a specific keybinding is forgotten, the user executes the command by searching the palette via Ctrl + Shift + P.
Sources: user-guide/command-palette.md:7-12, tutorials/command-palette.md:20-25
Summary
The Keybindings system in Acode provides a flexible interface for command execution through physical and virtual inputs. It integrates with the settings.json for persistence, QuickTools for mobile accessibility, and the Command Palette for command discoverability.
Sources: user-guide/settings/app-settings.md:46-47, user-guide/quicktools.md:38-44, user-guide/command-palette.md:25-30