Skip to content

Input Mode

In general, the claw machine starts in Command Mode. If you want to type normally, there are two options:

  1. Exit the claw machine directly.
  2. Enter Input Mode.

If you want to keep the claw machine active while typing normally, enter Input Mode. Input Mode temporarily disables claw machine behaviors so you can type text normally. After you finish typing, press Control + Esc or double press Esc to exit Input Mode and return to Command Mode.

You can enter Input Mode by triggering command.enterTextMode. You can also assign a dedicated shortcut for this mode.

Input Mode supports a small set of Nano-style shortcuts.

ShortcutAction
Control + B Move one character left
Control + F Move one character right
Control + P Move one line up
Control + N Move one line down
Control + A Move to start of line
Control + E Move to end of line
Option + B Move one word left
Option + F Move one word right
Control + H Delete previous character
Control + D Delete next character
Control + U Delete to start of line
Control + K Delete to end of line

Input Mode also changes the behavior of Page Up and Page Down to use shorter scroll distances for more precise scrolling while typing.

  • Double press Esc to exit Input Mode.
  • Press Ctrl + Esc to exit the claw machine.