Skip to content

enhancement: add vim-style navigation (j/k keys) and show Ctrl-C exit instruction #20

@rkristelijn

Description

@rkristelijn

Enhancement Request

Vim-style Navigation

Add support for vim-style navigation keys in the interactive repository selection:

  • j - move down (same as down arrow)
  • k - move up (same as up arrow)
  • Keep existing arrow key support

Better Exit Instructions

Currently the prompt shows:

? Select a repository: (Use arrow keys)

Should show:

? Select a repository: (Use arrow keys or j/k, Ctrl-C to exit)

Why This Matters

  • Developer-friendly: Many developers use vim/vi and expect j/k navigation
  • Accessibility: Provides alternative navigation methods
  • User Experience: Clear exit instructions prevent confusion
  • Consistency: Matches common CLI tool patterns

Implementation Notes

  • This affects the inquirer autocomplete prompt in the main interactive mode
  • Should be backward compatible (arrow keys still work)
  • Consider updating other prompts for consistency

Acceptance Criteria

  • j/k keys work for navigation in repository selection
  • Arrow keys continue to work as before
  • Prompt text shows both navigation options and exit instruction
  • All existing functionality remains unchanged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions