Glyph is designed for keyboard-first workflows on macOS.
macOS Conventions
In this guide:
Cmdmeans the Command key (⌘)- Modifiers are shown in this order:
Cmd+Alt+Shift+Key
Note
This page is the current shortcut reference. Glyph does not currently expose a dedicated in-app keyboard shortcuts help dialog.
All Shortcuts
Here’s the complete reference of keyboard shortcuts in Glyph:
| Action | Shortcut | Context |
|---|---|---|
| Navigation | ||
| Toggle Sidebar | Cmd+B | Always |
| Toggle Sidebar (Alt 1) | Cmd+Shift+S | Always |
| Toggle Sidebar (Alt 2) | Cmd+\ | Always |
| Toggle AI Panel | Cmd+Shift+A | Space open |
| File Operations | ||
| New Note | Cmd+N | Space open |
| Open Daily Note | Cmd+Shift+D | Space open |
| Save Note | Cmd+S | Editor focused |
| Close Preview/Tab | Cmd+W | Space open |
| Search & Command Palette | ||
| Command Palette | Cmd+K | Always |
| Command Palette (Alt) | Cmd+Shift+P | Always |
| Search | Cmd+F | Always |
| Quick Open | Cmd+P | Space open |
| Window & App | ||
| Settings | Cmd+, | Always |
| Open Space | Cmd+O | Always |
| AI Assistant | ||
| Attach Current Note | Cmd+Alt+A | Note open |
| Attach All Open Notes | Cmd+Alt+Shift+A | Notes open |
Shortcut Categories
Navigation Shortcuts
Control the workspace layout and panel visibility.
// From src/lib/shortcuts/registry.ts
{
id: "toggle-sidebar",
shortcut: { meta: true, key: "b" },
label: "Toggle Sidebar",
description: "Show or hide the file tree sidebar",
category: "navigation",
context: "global",
}Toggle Sidebar (Cmd+B): Shows/hides the file tree
- Has two alternative shortcuts:
Cmd+Shift+SandCmd+\ - Works even when no space is open
- Preserves sidebar width when re-opened
Toggle AI Panel (Cmd+Shift+A): Shows/hides AI assistant
- Only available when a space is open
- Requires AI to be enabled in settings
- Panel width is preserved between sessions
File Operation Shortcuts
Create, save, and manage notes.
New Note (Cmd+N):
- Creates a new markdown file in the current folder
- Opens the note in the editor immediately
- Prompts for a filename
Open Daily Note (Cmd+Shift+D):
- Creates or opens today’s daily note
- Requires daily notes folder to be configured
- Uses format:
YYYY-MM-DD.md
Save Note (Cmd+S):
- Saves the currently active editor
- Auto-saves already happen, but this forces immediate save
- Shows save indicator in the UI
Close Preview (Cmd+W):
- Closes the active preview or tab
- Does not delete the file
- Returns focus to file tree
Search & Command Palette Shortcuts
Quickly find files, notes, and execute commands.
Understanding the Command Palette
The command palette (Cmd+K) is the central hub for actions in Glyph. It has two modes:
- Commands Mode: Lists all available commands
- Search Mode: Full-text search across notes
You can switch between modes using the tab selector or dedicated shortcuts.
Command Palette (Cmd+K or Cmd+Shift+P):
- Opens command picker
- Type to filter commands
- Enter to execute
- Esc to close
Search (Cmd+F):
- Opens command palette in search mode
- Searches note content, filenames, and tags
- Uses hybrid search (keyword + semantic)
Quick Open (Cmd+P):
- File-focused search mode
- Fuzzy matches filenames
- Recent files appear first
Window & App Shortcuts
Manage spaces and app settings.
Settings (Cmd+,):
- Opens settings window
- Window stays open while working
- Changes apply immediately
Open Space (Cmd+O):
- Shows folder picker
- Can create new space or open existing
- Closes current space first
AI Assistant Shortcuts
Attach notes as context for AI conversations.
Attach Current Note (Cmd+Alt+A):
- Adds active note to AI context
- Opens AI panel if closed
- Appends to existing context
Attach All Open Notes (Cmd+Alt+Shift+A):
- Adds all open tabs to AI context
- Useful for cross-referencing multiple notes
- Deduplicates if note already attached
// From src/components/app/AppShell.tsx
const attachContextFiles = async (paths: string[]) => {
const unique = Array.from(
new Set(paths.map((p) => p.trim()).filter((p) => p.toLowerCase().endsWith(".md")))
);
if (!unique.length) return;
setAiPanelOpen(true);
setTimeout(() => dispatchAiContextAttach({ paths: unique }), 0);
};Context-Sensitive Shortcuts
Some shortcuts only work in specific contexts:
Global Context
Work anywhere in the app:
- Command Palette (
Cmd+K) - Settings (
Cmd+,) - Toggle Sidebar (
Cmd+B) - Search (
Cmd+F)
Space Context
Require an open space:
- New Note (
Cmd+N) - Quick Open (
Cmd+P) - Daily Note (
Cmd+Shift+D) - Toggle AI Panel (
Cmd+Shift+A)
Editor Context
Only when editor is focused:
- Save (
Cmd+S) - Editor-specific commands
Customizing Shortcuts
Note
Keyboard shortcuts are currently not customizable. This feature is planned for a future release.
Shortcuts are defined in the source code:
// From src/lib/shortcuts/registry.ts
export const SHORTCUTS = [
{
id: "new-note",
shortcut: { meta: true, key: "n" },
label: "New Note",
description: "Create a new note in the current folder",
category: "file",
context: "space",
},
// ... more shortcuts
] as const;Shortcut Conflicts
If shortcuts conflict with macOS or another app:
- macOS system shortcuts take precedence
- Check System Settings → Keyboard → Keyboard Shortcuts
- Avoid remapping common app-level shortcuts unless necessary
Common conflicts
Cmd+H(Hide on macOS) - not used by GlyphCmd+M(Minimize on macOS) - not used by GlyphCmd+Tab(App switcher) - handled by OSCmd+Q(Quit on macOS) - handled by OS
Tips for Efficiency
- Learn the Command Palette:
Cmd+Kis the fastest way to any action - Use Quick Open:
Cmd+Pto jump between notes without the mouse - Master sidebar toggle:
Cmd+Bgives you more editor space - Daily note ritual:
Cmd+Shift+Dto start journaling instantly - AI context workflow:
Cmd+Alt+Shift+Ato discuss multiple notes
macOS Key Symbols
Shortcuts display with macOS-native symbols:
⌘Cmd (Command)⌃Ctrl (Control)⌥Alt (Option)⇧Shift
// From src/lib/shortcuts/platform.ts
const MODIFIER_SYMBOLS = {
macos: { meta: "⌘", ctrl: "⌃", alt: "⌥", shift: "⇧" },
windows: { meta: "Win", ctrl: "Ctrl", alt: "Alt", shift: "Shift" },
linux: { meta: "Super", ctrl: "Ctrl", alt: "Alt", shift: "Shift" },
};