You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Home/End keys navigate history instead of moving cursor within prompt #7190
Home and End keys navigate to first/last prompt in history instead of moving the cursor to the beginning/end of the current line.
Current Behavior
Home → Goes to first prompt in history
End → Goes to last prompt in history
Expected Behavior
Home → Move cursor to beginning of current line
End → Move cursor to end of current line
Standard text editing behavior - these keys should control cursor position, not history navigation.
Suggested options ofr fix
Swap: Use Ctrl+Home/Ctrl+End for history, Home/End for cursor
Config: Add setting like keybinds.home_end: "cursor" | "history"
Plugins
oh-my-opencode
OpenCode version
1.1.3
Steps to reproduce
Start OpenCode TUI (opencode)
Send a few prompts to build up history (e.g., "hello", "test", "another prompt")
Type a new prompt but don't send it: this is my current prompt
Position cursor somewhere in the middle of the text
Press Home key
Actual: Jumps to first prompt in session history
Expected: Cursor moves to beginning of "this is my current prompt"
Same issue with End key - jumps to last history item instead of end of current line.
Activity
github-actions commentedon Jan 7, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
For keybind-related issues, please also check our pinned keybinds documentation: #4997
fix: make home/end keys work in menu list modal windows (resolves #7190…
fix: make home/end keys work in menu list modal windows (resolves #7190…
Merge remote master to local (#1)
fix: make home/end keys work in menu list modal windows (resolves ano…
fix: make home/end keys work in menu list modal windows (resolves ano…
fix: make home/end keys work in menu list modal windows (resolves #71…