Keyboard Shortcuts

LeetCode Ghost Window provides a comprehensive set of keyboard shortcuts to enhance your productivity and streamline your workflow.

Note: These shortcuts were designed to minimize conflicts with LeetCode's own keyboard shortcuts. If you encounter any conflicts, you can customize the shortcuts in the application settings.

Screenshot Capture

ShortcutAction
Ctrl+Shift+1Capture primary screenshot (problem statement)
Ctrl+Shift+2Capture secondary screenshot (examples, constraints)
Ctrl+Shift+3Capture tertiary screenshot (additional info)
Ctrl+Shift+RReset all screenshots

AI Processing

ShortcutAction
Ctrl+Shift+AProcess with 1 screenshot
Ctrl+Shift+BProcess with 2 screenshots
Ctrl+Shift+CProcess with 3 screenshots
Ctrl+Shift+LChange solution language

Window Controls

ShortcutAction
Ctrl+Shift+GToggle Ghost Mode on/off
Ctrl+Shift+HHide window (makes it invisible to you)
Ctrl+Shift+SShow window (makes it visible to you)
Ctrl+Shift+MToggle window drag mode (for repositioning)
Ctrl+Shift+OAdjust window opacity
Ctrl+Shift+TKeep window on top of other windows

Application Controls

ShortcutAction
Ctrl+Shift+,Open settings
Ctrl+Shift+FToggle fullscreen mode
Ctrl+Shift+DToggle dark/light theme
Ctrl+Shift++Increase font size
Ctrl+Shift+-Decrease font size
Ctrl+Shift+QQuit application

Solution Navigation

ShortcutAction
Ctrl+Shift+[Go to previous solution section
Ctrl+Shift+]Go to next solution section
Ctrl+Shift+C (when solution is visible)Copy code snippet to clipboard
Ctrl+Shift+ECopy explanation to clipboard

Customizing Shortcuts

You can customize keyboard shortcuts in the settings menu:

  1. Press Ctrl+Shift+, to open settings
  2. Navigate to the "Keyboard Shortcuts" tab
  3. Click on any shortcut to modify it
  4. Press the new key combination you want to use
  5. Click "Save" to apply your changes