Keyboard Shortcuts - Complete Reference
Master Lokus with keyboard shortcuts for lightning-fast note-taking. This comprehensive guide covers all shortcuts for Windows, macOS, and Linux, plus customization options.
Version: 1.3.1 | Shortcuts: 100+ | Platforms: Windows, macOS, Linux
Quick Reference Card
Most Essential Shortcuts
| Action | Windows/Linux | macOS |
|---|---|---|
| Command Palette | Ctrl+K | Cmd+K |
| Quick Switcher | Ctrl+P | Cmd+P |
| Global Search | Ctrl+Shift+F | Cmd+Shift+F |
| Save File | Ctrl+S | Cmd+S |
| New File | Ctrl+N | Cmd+N |
| Toggle Sidebar | Ctrl+B | Cmd+B |
Platform-Specific Notes
Modifier Keys
| Windows/Linux | macOS | Symbol (Mac) |
|---|---|---|
Ctrl | Cmd | Cmd |
Alt | Option | Opt |
Shift | Shift | ⇧ |
Win | Control | Ctrl |
Notation Used
Cmd = Command key (Cmd) on Mac, Ctrl on Windows/Linux
Alt = Option (Opt) on Mac, Alt on Windows/Linux
Shift = ⇧ on all platformsFile Operations
Creating & Opening
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| New File | Ctrl+N | Cmd+N | Create new markdown file |
| New Folder | Ctrl+Shift+N | Cmd+Shift+N | Create new folder |
| Open File | Ctrl+O | Cmd+O | Open file dialog |
| Quick Switcher | Ctrl+P | Cmd+P | Fast file navigation |
| Reopen Closed Tab | Ctrl+Shift+T | Cmd+Shift+T | Reopen last closed file |
Saving & Closing
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Save | Ctrl+S | Cmd+S | Save current file |
| Save All | Ctrl+Alt+S | Cmd+Alt+S | Save all open files |
| Close Tab | Ctrl+W | Cmd+W | Close current tab |
| Close All | Ctrl+Shift+W | Cmd+Shift+W | Close all tabs |
| Close Workspace | Ctrl+Shift+Q | Cmd+Shift+Q | Close workspace |
File Management
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Rename File | F2 | F2 | Rename selected file |
| Duplicate File | Ctrl+D | Cmd+D | Create duplicate |
| Delete File | Delete | Cmd+Delete | Move to trash |
| Permanent Delete | Shift+Delete | Cmd+Opt+Delete | Permanently delete |
| Reveal in Explorer | Ctrl+Shift+R | Cmd+Shift+R | Show in file manager |
| Copy File Path | Ctrl+Shift+C | Cmd+Shift+C | Copy full path |
| Refresh File Tree | F5 | F5 | Reload files |
Text Editing
Basic Editing
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Undo | Ctrl+Z | Cmd+Z | Undo last action |
| Redo | Ctrl+Shift+Z | Cmd+Shift+Z | Redo action |
| Cut | Ctrl+X | Cmd+X | Cut selection |
| Copy | Ctrl+C | Cmd+C | Copy selection |
| Paste | Ctrl+V | Cmd+V | Paste clipboard |
| Select All | Ctrl+A | Cmd+A | Select all text |
| Duplicate Line | Ctrl+Shift+D | Cmd+Shift+D | Duplicate current line |
| Delete Line | Ctrl+Shift+K | Cmd+Shift+K | Delete entire line |
Text Selection
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Select Word | Ctrl+D | Cmd+D | Select current word |
| Select Line | Ctrl+L | Cmd+L | Select current line |
| Select to End | Shift+End | Shift+Cmd+→ | Select to line end |
| Select to Start | Shift+Home | Shift+Cmd+← | Select to line start |
| Expand Selection | Alt+Shift+→ | Opt+Shift+→ | Expand by word |
| Shrink Selection | Alt+Shift+← | Opt+Shift+← | Shrink by word |
Navigation
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Go to Line | Ctrl+G | Cmd+G | Jump to line number |
| Go to Beginning | Ctrl+Home | Cmd+↑ | Jump to file start |
| Go to End | Ctrl+End | Cmd+↓ | Jump to file end |
| Move by Word | Ctrl+←/→ | Opt+←/→ | Skip by word |
| Jump to Heading | Ctrl+Shift+O | Cmd+Shift+O | Navigate headings |
| Scroll Up | Ctrl+↑ | Cmd+↑ | Scroll without moving cursor |
| Scroll Down | Ctrl+↓ | Cmd+↓ | Scroll without moving cursor |
Text Formatting
Basic Formatting
| Action | Windows/Linux | macOS | Markdown |
|---|---|---|---|
| Bold | Ctrl+B | Cmd+B | **text** |
| Italic | Ctrl+I | Cmd+I | *text* |
| Underline | Ctrl+U | Cmd+U | N/A |
| Strikethrough | Ctrl+Shift+X | Cmd+Shift+X | ~~text~~ |
| Inline Code | Ctrl+E | Cmd+E | `code` |
| Highlight | Ctrl+Shift+H | Cmd+Shift+H | ==text== |
| Clear Formatting | Ctrl+\\ | Cmd+\\ | Remove all |
Headings
| Action | Windows/Linux | macOS | Markdown |
|---|---|---|---|
| Heading 1 | Ctrl+Alt+1 | Cmd+Opt+1 | # Heading |
| Heading 2 | Ctrl+Alt+2 | Cmd+Opt+2 | ## Heading |
| Heading 3 | Ctrl+Alt+3 | Cmd+Opt+3 | ### Heading |
| Heading 4 | Ctrl+Alt+4 | Cmd+Opt+4 | #### Heading |
| Heading 5 | Ctrl+Alt+5 | Cmd+Opt+5 | ##### Heading |
| Heading 6 | Ctrl+Alt+6 | Cmd+Opt+6 | ###### Heading |
Lists
| Action | Windows/Linux | macOS | Markdown |
|---|---|---|---|
| Bullet List | Ctrl+Shift+8 | Cmd+Shift+8 | - item |
| Numbered List | Ctrl+Shift+7 | Cmd+Shift+7 | 1. item |
| Task List | Ctrl+Shift+9 | Cmd+Shift+9 | - [ ] task |
| Toggle Checkbox | Ctrl+Enter | Cmd+Enter | Toggle done |
| Blockquote | Ctrl+Shift+B | Cmd+Shift+B | > quote |
| Indent | Tab | Tab | Increase level |
| Outdent | Shift+Tab | Shift+Tab | Decrease level |
Advanced Formatting
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Code Block | Ctrl+Alt+C | Cmd+Opt+C | Insert code fence |
| Math Inline | Ctrl+M | Cmd+M | Inline equation |
| Math Block | Ctrl+Shift+M | Cmd+Shift+M | Block equation |
| Insert Table | Ctrl+Shift+T | Cmd+Shift+T | Create table |
| Horizontal Rule | - | - | Type --- |
| Callout | Ctrl+Alt+N | Cmd+Opt+N | Insert callout |
Links & References
WikiLinks
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Insert WikiLink | Ctrl+L | Cmd+L | Open link modal |
| Follow Link | Ctrl+Click | Cmd+Click | Open linked note |
| Create from Link | Ctrl+Click | Cmd+Click | Create non-existent |
| Show Backlinks | Ctrl+Alt+B | Cmd+Opt+B | View backlinks |
External Links
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Insert Link | Ctrl+K | Cmd+K | Add URL link |
| Edit Link | Ctrl+K | Cmd+K | Edit existing link |
| Remove Link | Ctrl+Shift+K | Cmd+Shift+K | Unlink text |
| Open Link | Ctrl+Click | Cmd+Click | Open in browser |
Search & Replace
Finding
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Find | Ctrl+F | Cmd+F | Find in current file |
| Find Next | F3 | Cmd+G | Next match |
| Find Previous | Shift+F3 | Cmd+Shift+G | Previous match |
| Global Search | Ctrl+Shift+F | Cmd+Shift+F | Search all files |
| Find and Replace | Ctrl+H | Cmd+H | Replace text |
Advanced Search
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Search by Tag | Ctrl+Shift+T | Cmd+Shift+T | Find tagged notes |
| Search in Folder | - | - | Via context menu |
| Regex Search | - | - | Enable in search |
View & Navigation
Sidebar & Panels
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Toggle Left Sidebar | Ctrl+B | Cmd+B | Files, tags, search |
| Toggle Right Sidebar | Ctrl+Shift+B | Cmd+Shift+B | Outline, plugins |
| Command Palette | Ctrl+K | Cmd+K | Universal commands |
| Quick Switcher | Ctrl+P | Cmd+P | Fast file access |
| Show Outline | Ctrl+Shift+O | Cmd+Shift+O | Document structure |
Editor Modes
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Cycle Editor Modes | Ctrl+E | Cmd+E | Edit/Live/Reading |
| Focus Mode | F11 | Cmd+K, F | Distraction-free |
| Fullscreen | F11 | Cmd+Ctrl+F | Full window |
| Zen Mode | Ctrl+K, Z | Cmd+K, Z | Ultra minimal |
Split View
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Split Editor | Ctrl+\\ | Cmd+\\ | Split horizontally |
| Toggle Split Direction | Ctrl+Shift+\\ | Cmd+Shift+\\ | H/V orientation |
| Reset Pane Size | Ctrl+Alt+\\ | Cmd+Opt+\\ | Equal sizes |
| Sync Scrolling | Ctrl+Alt+S | Cmd+Opt+S | Synchronized scroll |
| Focus Next Pane | Ctrl+Alt+→ | Cmd+Opt+→ | Move between panes |
| Focus Previous Pane | Ctrl+Alt+← | Cmd+Opt+← | Move between panes |
Tabs
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Next Tab | Ctrl+Tab | Cmd+Opt+→ | Switch to next |
| Previous Tab | Ctrl+Shift+Tab | Cmd+Opt+← | Switch to previous |
| Go to Tab 1-9 | Ctrl+1-9 | Cmd+1-9 | Jump to tab |
| Close Current Tab | Ctrl+W | Cmd+W | Close active |
Zoom & Display
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Zoom In | Ctrl++ | Cmd++ | Increase text size |
| Zoom Out | Ctrl+- | Cmd+- | Decrease text size |
| Reset Zoom | Ctrl+0 | Cmd+0 | Default size |
| Toggle Minimap | - | - | Via preferences |
Tools & Features
Graph & Visualization
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Open Graph View | Ctrl+Shift+G | Cmd+Shift+G | Knowledge graph |
| Focus Graph | Alt+G | Opt+G | Center on current |
| Zoom Graph | Ctrl+Scroll | Cmd+Scroll | Scale view |
Templates
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Insert Template | Ctrl+Shift+T | Cmd+Shift+T | Choose template |
| Save as Template | - | - | Via command palette |
Tasks
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Create Task | Ctrl+Shift+K | Cmd+Shift+K | New task modal |
| Toggle Task Done | Ctrl+Enter | Cmd+Enter | Check/uncheck |
| Open Kanban | Ctrl+Shift+K | Cmd+Shift+K | Kanban board |
Canvas
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| New Canvas | Ctrl+Shift+C | Cmd+Shift+C | Create canvas |
| Add Node | N | N | In canvas mode |
| Add Connection | C | C | Connect nodes |
| Delete Node | Delete | Backspace | Remove selected |
Gmail Integration
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Open Gmail | Ctrl+M | Cmd+M | Gmail panel |
| Compose Email | - | - | Via command palette |
| Save Email as Note | - | - | Via command palette |
Bases (Databases)
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Create Base | Ctrl+Shift+B | Cmd+Shift+B | New database |
| Switch View | Ctrl+Shift+V | Cmd+Shift+V | Table/Grid/List |
| Add Filter | F | F | In base view |
| Sort Column | S | S | In base view |
Editor Section Folding
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Fold Section | Ctrl+Alt+[ | Cmd+Opt+[ | Collapse heading |
| Unfold Section | Ctrl+Alt+] | Cmd+Opt+] | Expand heading |
| Fold All | Ctrl+K, Ctrl+0 | Cmd+K, Cmd+0 | Collapse all |
| Unfold All | Ctrl+K, Ctrl+J | Cmd+K, Cmd+J | Expand all |
| Toggle Fold | Ctrl+K, Ctrl+L | Cmd+K, Cmd+L | Toggle current |
Developer & Advanced
Developer Tools
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Toggle DevTools | Ctrl+Shift+I | Cmd+Opt+I | Open inspector |
| Reload Window | Ctrl+R | Cmd+R | Refresh app |
| Force Reload | Ctrl+Shift+R | Cmd+Shift+R | Clear cache |
System
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Open Preferences | Ctrl+, | Cmd+, | Settings |
| Show Help | F1 | F1 | Help panel |
| Quit Application | Ctrl+Q | Cmd+Q | Exit Lokus |
Customizing Shortcuts
Opening Shortcut Settings
1. Open Preferences (Cmd+,)
2. Navigate to "Keyboard Shortcuts"
3. Search or browse commands
4. Click to editChanging a Shortcut
1. Find command in list
2. Click current shortcut
3. Press new key combination
4. Save changesResolving Conflicts
If a shortcut is already assigned:
Conflict Detection:
- Warning shown with conflict details
- Choose to override or cancel
- View all assignments for a keyResetting Shortcuts
1. Go to Keyboard Shortcuts settings
2. Click "Reset to Defaults"
3. Confirm reset
4. All shortcuts restoredCreating Custom Shortcuts
// In settings.json
{
"keybindings": [
{
"command": "create-daily-note",
"key": "ctrl+shift+d",
"mac": "cmd+shift+d"
},
{
"command": "insert-date",
"key": "ctrl+;",
"mac": "cmd+;"
}
]
}Conditional Shortcuts
Context-specific bindings:
{
"keybindings": [
{
"command": "format-bold",
"key": "ctrl+b",
"when": "editorFocus"
},
{
"command": "toggle-sidebar",
"key": "ctrl+b",
"when": "!editorFocus"
}
]
}Vim Mode (Optional)
Enable Vim keybindings in Preferences → Editor → Vim Mode
Normal Mode
| Key | Action |
|---|---|
h, j, k, l | Move cursor |
w, b | Word navigation |
gg, G | Go to start/end |
dd | Delete line |
yy | Copy line |
p | Paste |
u | Undo |
Ctrl+r | Redo |
/ | Search |
Insert Mode
| Key | Action |
|---|---|
i | Insert before cursor |
a | Insert after cursor |
o | New line below |
O | New line above |
Esc | Return to normal |
Visual Mode
| Key | Action |
|---|---|
v | Character selection |
V | Line selection |
Ctrl+v | Block selection |
Emacs Mode (Optional)
Enable Emacs keybindings in Preferences → Editor → Emacs Mode
| Key | Action |
|---|---|
Ctrl+a | Beginning of line |
Ctrl+e | End of line |
Ctrl+k | Kill line |
Ctrl+y | Yank (paste) |
Ctrl+w | Kill region |
Alt+w | Copy region |
Ctrl+s | Search forward |
Ctrl+r | Search backward |
Troubleshooting
Shortcut Not Working
1. Check if it conflicts with system shortcuts
2. Verify shortcut in Preferences
3. Try alternative binding
4. Restart applicationSystem Shortcut Conflicts
macOS:
- Check System Preferences → Keyboard → Shortcuts
- Disable conflicting Mission Control shortcuts
- Disable Spotlight if using Cmd+Space
Windows:
- Check Windows Settings → Ease of Access → Keyboard
- Disable sticky keys prompts
- Check antivirus shortcut conflicts
Linux:
- Check desktop environment shortcuts
- Disable window manager conflicts
- Check compositor bindings
Can’t Type Certain Characters
Some international keyboards require special handling:
1. Preferences → Keyboard → International
2. Enable "Use OS keyboard layout"
3. Restart applicationPrintable Cheat Sheet
Download PDF cheat sheets:
Or print this page (Ctrl/Cmd+P) for quick reference!
Related Documentation
- Command Palette - Universal command access
- Settings - Configure shortcuts
- Editor - Editor-specific shortcuts
- Vim Mode - Vim keybindings
Tips for Learning Shortcuts
Week 1: Core Shortcuts
Cmd+K - Command Palette
Cmd+P - Quick Switcher
Cmd+S - Save
Cmd+N - New File
Cmd+B - Toggle SidebarWeek 2: Formatting
Cmd+B - Bold
Cmd+I - Italic
Cmd+E - Inline Code
Cmd+Shift+8 - Bullet List
Cmd+Shift+7 - Numbered ListWeek 3: Navigation
Cmd+G - Go to Line
Cmd+F - Find
Cmd+Shift+F - Global Search
Cmd+Click - Follow Link
Cmd+Tab - Next TabWeek 4: Advanced
Cmd+\ - Split View
Cmd+Shift+G - Graph View
Cmd+Shift+T - Templates
Cmd+Shift+K - Tasks
Cmd+Alt+1-6 - HeadingsLast Updated: January 23, 2025 | Version: 1.3.1 | Shortcuts: 100+