Skip to content

Conversation

zaldih
Copy link
Member

@zaldih zaldih commented Jul 30, 2025

For now this is the current behavior in the prototype:

  • Pressing T enters selection mode.
  • In Selection mode:
    • Space will select elements individually.
    • Pressing V (vim-style) will start the range mode. It will select all values wherever the cursor passes (including if you use Home and End to go to both ends).
    • A for select/unselect all.
2025-07-30-19-26-27.npkill.demo.selection.mode.webm

Close #27

zaldih added 2 commits July 30, 2025 23:02
This allow to select multiple result (one by one or a range) and after, delete at once.
@Angelk90
Copy link

@zaldih : Can you put a command to select them all A?

@zaldih
Copy link
Member Author

zaldih commented Jul 31, 2025

@zaldih : Can you put a command to select them all A?

Great idea! I'll include it too.

@Angelk90
Copy link

@zaldih : It would be possible to add a statement under Search completed that tells you how many folders were found.

@zaldih
Copy link
Member Author

zaldih commented Jul 31, 2025

It would be possible to add a statement under Search completed that tells you how many folders were found.

This is something I'm planning to add later, but I'm glad you mentioned it! My idea is to display the results, show where the cursor is hovering, and add a kind of sidebar to indicate the scrolling.

If you'd like, I encourage you to open an issue about this.

@zaldih zaldih added this to the v1.0 milestone Aug 5, 2025
@zaldih zaldih marked this pull request as ready for review August 9, 2025 19:34
@zaldih zaldih merged commit 818af00 into main Aug 9, 2025
18 checks passed
@zaldih zaldih deleted the feat/multi-select branch August 9, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select multiple directories

2 participants