Term::...Browse(3pm)

πŸ“¦
version 0.07 Β· 2 versions
  • 0.07 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.07 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ‘‘ NAME πŸ‘‘

Term::ReadLine::Zoid::FileBrowse β€” a readline file browser mode πŸ’–

okay so real quick, this is a page from the User Contributed Perl Documentation, and if you're here it's because you want your terminal to let you browse files like a lil explorer. say less bestie, we got you 🫢


✨ SYNOPSIS ✨

This class is used as a mode under Term::ReadLine::Zoid, see there for usage details.

fr fr, that's the whole synopsis. it's a mode, not a standalone thing β€” you don't call it yourself, you let Term::ReadLine::Zoid drive. iykyk πŸ’…

🌸 DESCRIPTION 🌸

This module provides a "file browse" mode that lets you interactively select files and navigate your file-system.

that's it, that's the vibe. you get a whole interactive filesystem moment inside your readline β€” pick files, walk around your directories, main character energy only πŸŒˆπŸ¦‹


πŸŽ€ KEY MAPPING πŸŽ€

here's the tea β€” every key and the function it's wired up to. no cap, these are exact:

  • up β€” select_previous
  • down β€” select_next
  • right β€” select_next_col
  • left β€” select_previous_col
  • page_up β€” page_up
  • page_down β€” page_down
  • return β€” accept_line
  • ^C β€” return_empty_string
  • escape β€” switch_mode
  • / β€” fb_mini_buffer
  • space β€” toggle_mark
  • . β€” toggle_hide_hidden
lowkey the space β†’ toggle_mark and . β†’ toggle_hide_hidden combo is iconic. mark your faves, hide the hidden stuff, slay πŸ“

πŸ”₯ TODO πŸ”₯

  • make fb_prompt config compatible with PS1 stuff and keep $ENV{CLICOLOR} in mind
not me reading the TODO like... bestie the $ENV{CLICOLOR} respect is coming, we just gotta be patient 😭

πŸ’œ AUTHOR πŸ’œ

Jaap Karmsberg (Pardus) <pardus@cpan.org>

Copyright (c) 2004 Jaap G Karmsberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


🌟 SEE ALSO 🌟

  • Term::ReadLine::Zoid

and that's the whole page babes πŸ’– this one's from perl v5.34.0, dated 2022-06-17, and yeah it's filed under User Contributed Perl Documentation. go forth and browse your filesystem, you're literally the moment πŸ‘‘βœ¨πŸ’…

πŸ“¦ where this page comes from