Skip to content

Input Scroll Mode

Input scroll mode allows you to navigate through long prompts that exceed the visible input area.

Overview

When composing long prompts (multi-line code, detailed instructions, etc.), the input box has a maximum visible height. Scroll mode lets you view and navigate the full content without losing your place.

Activation

ActionDescription
Ctrl+GToggle scroll mode on/off
EscapeExit scroll mode

When scroll mode is active, the input box border changes from green to yellow.

Keybindings

Basic Navigation

KeyAction
k or Scroll up one line
j or Scroll down one line

Fast Navigation

KeyAction
PageUpScroll up one page
PageDownScroll down one page
HomeJump to top (oldest content)
EndJump to bottom (newest content)

Behavior

  • Auto-exit on edit: Scroll mode automatically exits when you modify the input text
  • Auto-exit on palette: Scroll mode exits when the command palette opens (typing /)
  • Offset reset: Scroll offset resets to 0 when exiting scroll mode
  • Bounds clamping: Scroll offset is automatically clamped to valid range

Use Cases

1. Reviewing Long Prompts

When you've written a detailed multi-line prompt, use scroll mode to review it before submitting:

1. Write your long prompt
2. Press Ctrl+G to enter scroll mode
3. Use k/j or arrows to review content
4. Press Escape to exit and submit

2. Navigating Pasted Content

After pasting a large code block or log output:

1. Paste content into input
2. Press Ctrl+G to navigate
3. Use PageUp/PageDown for fast scrolling
4. Press Home/End to jump to extremes

Visual Indicator

  • Normal mode: Green border around input box
  • Scroll mode: Yellow border around input box
  • Press Ctrl+/ to view all keyboard shortcuts in the help overlay
  • Use PageUp in the main view to enter reading mode for the conversation history

Released under the MIT License.