Overview
Hotkeys allow you to trigger Local GPT actions instantly without navigating menus. This guide covers configuring keyboard shortcuts for all Local GPT commands.Available Commands
Local GPT provides three main commands that can be bound to hotkeys:Context Menu
Opens the action selection menu at the cursor position
Action Palette
Opens the enhanced action palette for one-time queries
Quick Actions
Direct shortcuts to specific actions
Setting Up Hotkeys
Step 1: Open Hotkey Settings
- Open Settings (⚙️ gear icon)
- Navigate to Hotkeys in the left sidebar
- Filter for “Local” in the search box
Step 2: Assign Keyboard Shortcuts
Click the + icon next to a command and press your desired key combination.Recommended Hotkey Setup
Context Menu
Command:Local GPT: Show context menu
Recommended hotkeys:
- macOS:
⌘ + M(Command + M) - Windows/Linux:
Ctrl + M - Alternative:
Ctrl + Shift + L
- You have text selected and want to run a saved action
- You want to browse all available actions
- You’re working with frequently used actions
- Select text you want to process
- Press
⌘ + M(or your configured hotkey) - Choose an action from the menu
- AI processes the selection
Action Palette
Command:Local GPT: Action Palette
Recommended hotkeys:
- macOS:
⌘ + J(Command + J) - Windows/Linux:
Ctrl + J - Alternative:
Ctrl + Shift + P(similar to VS Code command palette)
- You want to ask a one-time question
- You need to reference specific files
- You want to override the default AI provider
- You need to use a custom system prompt
- Press
⌘ + J(or your configured hotkey) - Type your question or instruction
- (Optional) Add file references with
@filename - (Optional) Select a different AI provider or model
- Press Enter to submit
The Action Palette is more flexible than the context menu because it allows custom prompts and file selection without pre-configuring an action.
Quick Access Actions
You can create hotkeys for individual actions to access them instantly: Command format:Local GPT: Run action "[Action Name]"
Example setup:
| Action | Recommended Hotkey (macOS) | Recommended Hotkey (Windows/Linux) |
|---|---|---|
| Continue writing | ⌘ + Shift + C | Ctrl + Shift + C |
| Fix spelling and grammar | ⌘ + Shift + G | Ctrl + Shift + G |
| Summarize | ⌘ + Shift + S | Ctrl + Shift + S |
| Find action items | ⌘ + Shift + A | Ctrl + Shift + A |
- You use certain actions extremely frequently
- You want the fastest possible workflow
- You’re optimizing for muscle memory
- Select text with grammar errors
- Press
⌘ + Shift + G(or your configured hotkey) - AI immediately fixes the text (no menu navigation)
Hotkey Configuration Tips
Choosing Good Hotkey Combinations
Avoid System Conflicts
Avoid System Conflicts
- Don’t use
Ctrl + C,Ctrl + V,Ctrl + S(common system shortcuts) - Avoid
Ctrl + W,Ctrl + T(browser/app shortcuts) - Check Obsidian’s existing hotkeys to avoid conflicts
Use Modifier Patterns
Use Modifier Patterns
Ctrl/⌘ + Shift + Letterfor quick actionsCtrl/⌘ + Letterfor frequently used commandsCtrl/⌘ + Alt + Letterfor advanced features
Create Mnemonic Shortcuts
Create Mnemonic Shortcuts
Mfor Menu (context menu)Jfor Jump (action palette) or AskGfor GrammarCfor ContinueSfor Summarize
Mobile Considerations
Mobile Considerations
Mobile devices don’t support keyboard shortcuts. Configure the ribbon icon or commands palette for mobile access instead.
Keyboard Layout Differences
Some keyboard layouts have different key positions:- QWERTY: Standard US/UK layout
- AZERTY: French layout (Z and W swapped)
- QWERTZ: German layout (Y and Z swapped)
- Dvorak: Alternative efficiency-focused layout
Command Reference
Show Context Menu
Action Palette
- Type custom prompts
- Reference files with
@mentions - Select AI provider and model
- Choose system prompts
- Use Enhanced Actions (RAG)
Individual Action Commands
The command list updates automatically when you add, remove, or rename actions.
Workflow Examples
Example 1: Writing Assistant
Scenario: You’re writing a blog post and want AI assistance throughout. Hotkey setup:⌘ + M: Context menu (general access)⌘ + Shift + C: Continue writing⌘ + Shift + G: Fix grammar⌘ + J: Action palette (for questions)
- Draft a paragraph
- Press
⌘ + Shift + Gto fix grammar - Continue writing
- Press
⌘ + Shift + Cto have AI continue your thought - Have a question? Press
⌘ + Jand ask - Need a different action? Press
⌘ + Mto browse all options
Example 2: Research & Note-Taking
Scenario: You’re taking research notes and need to synthesize information. Hotkey setup:⌘ + M: Context menu⌘ + Shift + S: Summarize⌘ + J: Action palette with Enhanced Actions
- Paste research content
- Press
⌘ + Shift + Sto summarize key points - Have a question about related notes? Press
⌘ + J - Type question and let RAG pull context from linked notes
- Need a different action? Press
⌘ + M
Example 3: Code Documentation
Scenario: You’re documenting code snippets in your notes. Hotkey setup:⌘ + Shift + D: “Document Code” custom action⌘ + Shift + R: “Review Code” custom action⌘ + J: Action palette for one-off questions
- Paste code snippet
- Press
⌘ + Shift + Dto generate documentation - Review the code? Press
⌘ + Shift + R - Specific question about the code? Press
⌘ + J
Accessibility Considerations
For Users with Mobility Impairments
- Use single-hand key combinations when possible
- Consider using the command palette (
Ctrl/⌘ + P) to type command names instead of complex hotkeys - Enable Obsidian’s ribbon icons for mouse-based access
For Screen Reader Users
- All Local GPT commands are labeled and accessible via the command palette
- Action results are inserted as regular text, readable by screen readers
- The Action Palette modal is keyboard-navigable
For Users Who Can’t Use Keyboards
- Enable the Local GPT ribbon icon in settings
- Use Obsidian’s command palette with voice typing
- Consider voice control software that can trigger Obsidian commands
Troubleshooting
Hotkey Not Working
- Check for conflicts: Go to Settings → Hotkeys and search for the key combination
- Restart Obsidian: Sometimes hotkeys need a restart to register
- Check your keyboard layout: Some layouts remap keys
- Try a different combination: Some system shortcuts can’t be overridden
Action Command Not Appearing
- Verify the action exists: Go to Settings → Local GPT → Actions
- Check the action name: Commands are generated from action names
- Restart Obsidian: New actions require a restart to register commands
Hotkey Works in Edit Mode but Not Reading Mode
- This is expected behavior for selection-based actions
- Switch to Edit mode to use selection-dependent hotkeys
- Use the Action Palette (which works in both modes) for non-selection queries
Wrong Action Triggered
- Check for duplicate action names
- Verify you assigned the hotkey to the correct command
- Review Settings → Hotkeys for the specific command
Advanced Hotkey Patterns
Modifier-Based Workflows
Use modifier keys to create related command groups:Vim-Style Shortcuts
For Vim users, consider using leader key patterns:Vim-style leader keys require the Obsidian Vimrc plugin or similar vim emulation plugins.
Context-Aware Shortcuts
Different hotkeys for different contexts:Related Resources
Creating Custom Actions
Create actions to assign to hotkeys
Action Palette
Learn about the Action Palette features