Keyboard shortcuts

Find all available shortcuts by function, with platform-specific variations where applicable.

Quick reference

CategoryShortcutPurpose
NavigationCtrl+A , Ctrl+E , Move through text and history
EditingCtrl+K , Ctrl+U , Ctrl+WModify and edit text
Application controlCtrl+C , Ctrl+D , Ctrl+LControl Bob Shell's behavior
Special featuresCtrl+Y , Ctrl+T , Ctrl+GAccess advanced functionality

Efficiently move through text and command history:

Cursor movement

ShortcutmacOS AlternativeDescription
Ctrl+A / HomeMove cursor to beginning of line
Ctrl+E / EndMove cursor to end of line
Ctrl+B / Left ArrowMove cursor one character left
Ctrl+F / Right ArrowMove cursor one character right
Ctrl+Left ArrowOption+Left ArrowMove cursor one word left
Ctrl+Right ArrowOption+Right ArrowMove cursor one word right

History navigation

ShortcutAlternativeDescription
Up ArrowCtrl+PNavigate up through input history
Down ArrowCtrl+NNavigate down through input history

Editing shortcuts

Efficiently edit and modify text:

Text deletion

ShortcutDescription
Ctrl+H / BackspaceDelete character to left of cursor
Ctrl+D / DeleteDelete character to right of cursor
Ctrl+W / Ctrl+BackspaceDelete word to left of cursor
Ctrl+DeleteDelete word to right of cursor
Ctrl+UDelete from cursor to beginning of line
Ctrl+KDelete from cursor to end of line

Text manipulation

ShortcutDescription
\ + EnterInsert a newline (when at end of line)
Ctrl+VPaste clipboard content (text or image)
Ctrl+X / Alt+EnterOpen current input in external editor
TabAutocomplete current suggestion
Esc (double press)Clear the input prompt

Application control

Control Bob Shell's core functionality:

Session management

ShortcutDescription
Ctrl+CCancel ongoing request and clear input
Press twice to exit application
Ctrl+DExit application (when input is empty)
Press twice to confirm
Ctrl+LClear the screen
EscClose dialogs and suggestions

Mode toggles

ShortcutDescription
! (empty prompt)Toggle shell mode
Ctrl+YToggle auto-approval (YOLO mode) for all tool calls
Ctrl+OToggle debug console display
Ctrl+SToggle response truncation
Allow long responses to print fully
Ctrl+TToggle tool descriptions display
TabCycle through available modes

Special features

Access specialized functionality:

Suggestions and selections

ShortcutDescription
Tab / EnterAccept selected suggestion
Up ArrowNavigate up through suggestions
Down ArrowNavigate down through suggestions

Radio button selection

ShortcutDescription
Up Arrow / kMove selection up
Down Arrow / jMove selection down
EnterConfirm selection
1-9Select item by number
Multi-digit numbersPress digits in quick succession for items >9

IDE integration

ShortcutDescription
Ctrl+GView context received from IDE

Platform-specific notes

macOS users

On macOS, many shortcuts use the Option key (also called Alt or ) instead of Ctrl for word-based operations:

  • Use Option+Left/Right instead of Ctrl+Left/Right for word movement
  • Use Option+Backspace instead of Ctrl+W for deleting the previous word

Terminal compatibility

Some shortcuts may be intercepted by your terminal emulator before reaching Bob Shell:

  • If Ctrl+C doesn't work as expected, try Ctrl+C twice
  • If Ctrl+Left/Right doesn't work, check your terminal's keyboard settings

Keyboard shortcut tips

  • Learn incrementally: Start with basic navigation (Ctrl+A , Ctrl+E , )
  • Practice deletion shortcuts: Ctrl+U and Ctrl+K are particularly useful
  • Use history navigation: Up/Down arrows save time when repeating commands
  • Try shell mode: Type ! at an empty prompt to quickly run shell commands
  • Customize your terminal: Some terminals allow remapping keys for better compatibility
How is this topic?