Hacker News new | ask | show | jobs
by Lycomedes1814 70 days ago
If you want feature ideas, here are some I vibe-coded into my ncdu fork:

  d — send the selected item to trash
  D — delete the selected item directly (was d upstream)
  e — open the selected item with $EDITOR
  f — open the selected item with open(1)
  y — copy the selected item's path to the clipboard
  i — item info panel now shows a file(1) description in the Type row
  I — open a scrollable mediainfo pager for the selected file
1 comments

I hadn't even thought about these -- inspecting and deleting from the TUI makes a lot of sense.
I'd argue against adding most of these. While a delete/trash function makes sense for a tool aimed at freeing up disk space, adding features like opening files with $EDITOR, open(1), or mediainfo crosses the line into file manager territory (like ranger or yazi). It feels like it goes against the "tiny" and minimal core philosophy of the tool. Do one thing well!
I think “do one thing well” depends on how you define the “thing”. For something interactive, the “thing” can be the whole workflow, not just one step of it — similar to how a browser isn’t just fetching HTML, but making the web usable.