Skip to content

CLI - Support for Ctrl + P/N to move up and down in the file picker #35

@nathabonfim59

Description

@nathabonfim59

How would you feel about having these shortcuts in the file picker?

It's more like a muscle memory for me, and considering it already has support for j/k in the diff view, it could be a great addition.

Also, my 60% keyboard doesn't have dedicated arrows keys :'(

PS: I know it also conflicts with the "open picker", but from what I've tested, it seems to take precedence and not cause any issues.

I've tested with Alt+J/K, it works as well, but it might cause conflicts with terminals that open the window file menu and hijack the shortcut from it.


If you approve, I can open the PR. It's a one line change in the dropdown.tsx .

Proposed changes:
main...nathabonfim59:critique:main

Let me know what you think

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