Skip to content

feat(picker): Enter is the remappable jump Action #63

Description

@hammadmajid

Part of #61. Covers feature 2 (remap Enter).

What

Make Jump the built-in Action jump, bound to enter by default. It can be rebound or overridden by name like any Action:

[actions.jump]
key = "alt+enter"      # Jump moves here

[actions.code]
key = "enter"          # Enter now opens VS Code
run = "code {path}"
detach = true
  • Built-in Actions are overridden by name: [actions.jump] changes only the fields it sets.
  • Rebinding enter without moving jump leaves jump unbound. That is allowed, and the key hints (feat(picker): key-hint footer and vim ? overlay #67) simply won't list it.
  • Applies in both the default and vim key maps, and in the vim filter focus.

Acceptance

  • enter is no longer hard-coded in internal/picker/update.go; it dispatches through the Action map.
  • Tests: default Enter Jumps; remapped Enter runs the other Action; jump on another key Jumps.
  • README documents remapping Enter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready-for-agentFully specified, ready for an AFK agentwayfinder:taskWayfinder ticket: implementation task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions