television/TODO.md
2024-10-13 20:55:30 +02:00

1.6 KiB

tasks

  • preview navigation
  • add a way to open the selected file in the default editor
  • maybe filter out image types etc. for now
  • return selected entry on exit
  • piping output to another command
  • piping custom entries from stdin (e.g. ls | tv, what bout choosing previewers in that case? Some AUTO mode?)

bugs

improvements

  • async finder initialization
  • async finder search
  • use nucleo for env
  • better keymaps
  • mutualize placeholder previews in cache (really not a priority)
  • better abstractions for channels / separation / isolation so that others can contribute new ones easily
  • channel selection in the UI (separate menu or top panel or something)
  • only render highlighted lines that are visible
  • only ever read a portion of the file for the temp preview
  • make layout an attribute of the channel?
  • I feel like the finder abstraction is a superfluous layer, maybe just use the channel directly?

feature ideas

  • some sort of iterative fuzzy file explorer (preview contents of folders on the right, enter to go in etc.) maybe with mixed previews of files and folders
  • environment variables
  • aliases
  • shell history
  • text
  • text in documents (pdfs, archives, ...) (rga, adapters) https://github.com/jrmuizel/pdf-extract
  • fd
  • recent directories
  • git (commits, branches, status, diff, ...)
  • makefile commands
  • remote files (s3, ...)
  • custom actions as part of a channel (mappable)