Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support Ctrl+N / Ctrl+P for list navigation #58

Copy link
Copy link
@erzhtor

Description

@erzhtor
Issue body actions

Summary

When navigating stacks and prompts, only the arrow keys work for moving the selection up and down. Ctrl+N / Ctrl+P do not work as alternatives.

Expected behavior

Support Unix / editor-style navigation so that:

  • Ctrl+N moves to the next item (down)
  • Ctrl+P moves to the previous item (up)

This matches common behavior in Vim, Emacs, VS Code, and many terminal UIs, and lets users keep their hands on the home row while working with gh stack.

Optionally, supporting Ctrl+J / Ctrl+K for down/up (or allowing these to be configured) would make the experience even more familiar for Vim users.

Actual behavior

Arrow keys move the selection, but Ctrl+N / Ctrl+P have no effect.

Environment

  • gh version: 2.90.0
  • gh stack version: 0.0.2
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.