Skip to main content
Speed up your workflow with keyboard shortcuts. Keep your hands on the keyboard and maintain your flow while working with Khoj.
Shortcuts vary by platform. This guide covers shortcuts for Web, Obsidian, Desktop, and Emacs interfaces.

Chat Input Shortcuts

Navigate your chat history without reaching for the mouse:
ShortcutAction
Up ArrowMove up in recent message history
Down ArrowMove down in recent message history
EnterSend current message
Shift + EnterNew line in message

How Message History Works

1
Place cursor in chat input box
2
Press to load your previous message
3
Keep pressing to go further back
4
Press to move forward in history
5
Edit and send to revise your query
Arrow key navigation demo
ShortcutAction
Cmd/Ctrl + KFocus search bar
/Focus chat input
EscClose modals/panels
Cmd/Ctrl + \Toggle sidebar

Conversation Management

ShortcutAction
Cmd/Ctrl + NNew conversation
Cmd/Ctrl + DeleteDelete conversation
Cmd/Ctrl + SShare conversation
Requires focus on conversation area

Text Editing

Standard text editing shortcuts work in chat input:

Selection

ShortcutAction
Cmd/Ctrl + ASelect all
Shift + ←/→Select character
Cmd/Ctrl + Shift + ←/→Select word

Clipboard

ShortcutAction
Cmd/Ctrl + CCopy
Cmd/Ctrl + XCut
Cmd/Ctrl + VPaste

Undo/Redo

ShortcutAction
Cmd/Ctrl + ZUndo
Cmd/Ctrl + Shift + ZRedo

Message Actions

Interact with chat messages:
Hover over any message to reveal action buttons, or use keyboard:
ShortcutAction
Cmd/Ctrl + CCopy message text
Cmd/Ctrl + RRegenerate response
Cmd/Ctrl + EEdit message
These shortcuts work when hovering over a message

Search Shortcuts

On the search page:
ShortcutAction
/Focus search input
EnterExecute search
EscClear search
↑/↓Navigate results
Enter (on result)Open result

Voice Input

ActionHow To
Start voice inputClick microphone icon (no hotkey yet)
Stop recordingClick microphone again
Play voice responseClick speaker icon
Pause voice playbackClick speaker again
Global voice activation hotkey coming in future update

Browser-Specific

ShortcutAction
Cmd/Ctrl + TNew tab to app.khoj.dev
Cmd/Ctrl + LFocus address bar
Cmd/Ctrl + RRefresh page
Cmd/Ctrl + +/-Zoom in/out

Custom Shortcuts

Set up your own shortcuts:
1
Open Obsidian Settings (Cmd/Ctrl + ,)
2
Go to Hotkeys section
3
Search for “Khoj”
4
Click the ”+” next to any command
5
Press your desired key combination
6
Click outside to save
Recommended custom hotkeys:
  • Khoj: ChatCmd/Ctrl + Shift + K
  • Khoj: SearchCmd/Ctrl + Shift + F
  • Khoj: Find similarCmd/Ctrl + Shift + S
Create browser bookmarks with keyboard shortcuts:Chrome/Edge:
  1. Visit app.khoj.dev
  2. Click star icon to bookmark
  3. Right-click bookmark → Edit
  4. Can’t directly assign hotkey, but use bookmark bar (Cmd/Ctrl + Shift + B)
Firefox:
  1. Bookmark app.khoj.dev
  2. Give it a keyword like “khoj”
  3. Type “khoj” in address bar to open quickly
Launch Khoj Desktop with global hotkey:macOS:
  1. System Settings → Keyboard → Shortcuts
  2. App Shortcuts → Add (+)
  3. Select Khoj application
  4. Assign hotkey
Windows:
  1. Right-click Khoj shortcut
  2. Properties → Shortcut key
  3. Press desired key combination
  4. Click OK
Linux: Depends on desktop environment (GNOME, KDE, etc.)
  • Usually in Keyboard Settings
  • Create custom shortcut to launch Khoj

Productivity Tips

Keep Hands on Keyboard

Master the most common shortcuts to avoid mouse usage during flow state

Muscle Memory

Practice shortcuts until they become automatic - speed comes with repetition

Start Small

Learn 3-5 shortcuts first, then gradually add more to your repertoire

Cheat Sheet

Keep a note with your most-used shortcuts until memorized

Quick Reference Card

Must-know shortcuts for daily use:
ActionShortcut
Send messageEnter
New lineShift + Enter
New conversationCmd/Ctrl + N
Focus searchCmd/Ctrl + K
Copy textCmd/Ctrl + C
Paste textCmd/Ctrl + V

Platform Comparison

FeatureWebObsidianDesktopEmacs
Message History (↑/↓)Coming✓ YesComing✓ Yes
Custom HotkeysLimited✓ FullPartial✓ Full
Voice ActivationManualManualManualN/A
Tab NavigationBrowserObsidianAppEmacs
Quick AccessBookmarkCommandSystemM-x

Troubleshooting

Possible causes:
  • Conflict with system/browser shortcuts
  • Different keyboard layout
  • Platform-specific variations
  • Feature not available on current platform
Try:
  • Check if another app is capturing the shortcut
  • Try alternative key combination
  • Restart the application
  • Check documentation for your specific platform
Check:
  • Cursor is in the input box
  • No text is currently in the input
  • Khoj plugin is up to date
  • Conversation has previous messages
Try:
  • Click in input box first
  • Clear any existing text
  • Update Khoj plugin
Remember:
  • Mac uses Cmd where Windows uses Ctrl
  • Some shortcuts are OS-specific
  • Browser shortcuts may differ
This guide shows Cmd/Ctrl to indicate the modifier key for your platform.

Future Shortcuts

Planned keyboard shortcuts:
  • Global voice activation hotkey
  • Quick agent switching
  • Message history on web (up/down arrows)
  • Bookmark/favorite conversations
  • Quick filter application
  • Citation navigation
  • Multi-message selection
Vote on keyboard shortcut priorities on Discord or GitHub discussions!

Next Steps

Master Chat

Combine shortcuts with chat features for maximum efficiency

Voice Chat

Use voice when keyboard shortcuts aren’t enough

Obsidian Client

Full Obsidian integration details and shortcuts

Emacs Client

Complete Emacs keybinding reference

Build docs developers (and LLMs) love