Skip to main content
CodePlanet Docs

Keyboard Shortcuts

Navigate faster with keyboard commands

Navigate CodePlanet faster with keyboard shortcuts.

Global Shortcuts

Available anywhere on the site:

ShortcutAction
/Open search
EscClose modal/search
?Show keyboard shortcuts
g hGo to home
g pGo to problems
g lGo to learn
g dGo to docs

Documentation

When browsing docs:

ShortcutAction
/Open search
Previous doc
Next doc
EscClose search

Problem List

When browsing problems:

ShortcutAction
jNext problem
kPrevious problem
EnterOpen problem
fToggle filters
sToggle sort

Code Editor

When writing code:

ShortcutAction
Ctrl+EnterRun code
Ctrl+Shift+EnterSubmit solution
Alt+Shift+FFormat code
Ctrl+SSave (editor state)
Ctrl+/Toggle comment
Ctrl+DSelect next occurrence
Ctrl+ZUndo
Ctrl+Shift+ZRedo
`Ctrl+``Toggle console

General navigation:

ShortcutAction
g then hGo Home
g then pGo Problems
g then lGo Learn
g then bGo Leaderboard
g then sGo Settings

In any modal:

ShortcutAction
EscClose
TabNext element
Shift+TabPrevious element
EnterConfirm/Submit

Accessibility

We support:

  • Screen reader navigation
  • Focus indicators
  • Skip links
  • ARIA labels

Customizing Shortcuts

Planned for future releases:

  • Custom keybindings
  • Vim mode
  • Emacs mode

Press ? anywhere to see shortcuts!

On this page