[PR #8980] feat: bind vim-style line-by-line scrolling #12934

Closed
opened 2026-02-16 18:17:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8980

State: closed
Merged: Yes


What does this PR do?

https://github.com/anomalyco/opencode/issues/8978

Adds these keybindings to mimic Vim:

ctrl-alt-y: Scroll up one line
ctrl-alt-e: Scroll down one line
ctrl-alt-f (alias to pgup): Scroll up one page
ctrl-alt-b (alias to pgdown): Scroll down one page

How did you verify your code works?

Manually.

TBD

Unsure if maintainers OK with adding second alias for ctrl-alt-f and ctrl-alt-b in order to avoid keybind bloat. My personal opinion is aiming for best-effort Vim compat in keybindings is worth the effort.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8980 **State:** closed **Merged:** Yes --- ### What does this PR do? https://github.com/anomalyco/opencode/issues/8978 Adds these keybindings to mimic Vim: ctrl-alt-y: Scroll up one line ctrl-alt-e: Scroll down one line ctrl-alt-f (alias to pgup): Scroll up one page ctrl-alt-b (alias to pgdown): Scroll down one page ### How did you verify your code works? Manually. ### TBD Unsure if maintainers OK with adding second alias for ctrl-alt-f and ctrl-alt-b in order to avoid keybind bloat. My personal opinion is aiming for best-effort Vim compat in keybindings is worth the effort.
yindo added the pull-request label 2026-02-16 18:17:49 -05:00
yindo closed this issue 2026-02-16 18:17:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12934