sfm(1)

πŸ“¦ version 0.4, in nixos 26.05, nixpkgs unstable

πŸ’« sfm(1) β€” General Commands Manual πŸ’«

okay so bestie, welcome to sfm β€” your new main character file manager. this is the manual page for the sfm command, and yes we're gonna read it together, it's gonna be fun, i promise 🫢


✨ NAME ✨

sfm β€” simple file manager πŸ’…


✨ SYNOPSIS ✨

sfm [-v]

that's it. that's the whole vibe check. one optional flag, no cap πŸŽ€


✨ DESCRIPTION ✨

so sfm is a simple file manager for unix-like systems, and it's built on termbox β€” yes, that termbox πŸ”₯

what you get, bestie:

  • dual panes (two panes, living their best parallel lives)
  • a bottom statusbar (for the little updates, we love her)
  • bookmarks (for the places you keep coming back to πŸ’–)
  • open files by extention (it picks the app for you, slay)
  • vim-like key bindings as the default configuration (iykyk πŸ‘‘)

and a detail people always miss: the cwd is the left pane dir β€” like, your current working directory is the left pane's directory. periodt. 🌸


✨ OPTIONS ✨

  • -v β€” print version. that's it, that's the option. show her off πŸ¦‹

✨ USAGE ✨

🌈 Normal Mode 🌈

this is where you live 90% of the time. the keys:

  • q β€” quit
  • h β€” back
  • j β€” down
  • k β€” up
  • l β€” open dir | file
  • g β€” top
  • G β€” bottom
  • ctrl+u β€” scroll up
  • ctrl+d β€” scroll down
  • n β€” create new file if not exists
  • N β€” create new directory if not exists
  • d β€” delete file | directory recursively
  • D β€” duplicate file | directory recursively
  • y β€” yank
  • p β€” paste
  • P β€” move
  • b β€” spawn a shell in the current directory
  • c β€” start change
  • cw β€” rename
  • co β€” change owner and group (chown)
  • cm β€” change mode (chmod)
  • cf β€” change flags (chflags | chattr)
  • cc β€” exit change
  • cq β€” exit change
  • . β€” toggle dotfiles
  • v β€” start visual mode
  • / β€” start filter
  • ENTER β€” find filter
  • ESC β€” exit filter
  • SPACE β€” switch pane
  • ctrl+r β€” refresh panes
⚠️ heads up bestie: d deletes recursively, and D duplicates recursively. like, the whole tree. no takebacks. be so serious when you press those πŸ’€

πŸ¦‹ Visual Mode πŸ¦‹

select a bunch of stuff and do things to it. the moment:

  • j β€” select down
  • k β€” select up
  • d β€” delete selection
  • v β€” exit visual mode
  • q β€” exit visual mode
  • ESC β€” exit visual mode | change

✨ CUSTOMIZATION ✨

so here's the thing, and honestly it's giving minimalist icon energy πŸŽ€:

sfm is customized by creating a custom config.h and (re)compiling the source code.

that's the whole system. no config file to parse at runtime, no plugin folder, nothing. and per the page itself β€” this keeps it fast, secure and simple. we stan a low-overhead queen ✨


✨ ENVIRONMENT ✨

the env vars she actually reads:

  • EDITOR β€” open unconfigured file extention. vi(1) if not set.
  • HOME β€” right pane default directory. / if not set.
  • SHELL β€” shell spawned with the b key. /bin/sh if not set.

✨ AUTHORS ✨

See the LICENSE file for the authors. πŸ’– (go read it, support your local maintainers)


✨ LICENSE ✨

See the LICENSE file for the terms of redistribution.


and that's the whole page bestie 🧚 no cap, you're basically an sfm expert now. go manage some files, you absolute icon πŸ’…β­

🌸 cute little sign-off: this was sfm-0.4, page sfm(1) from the General Commands Manual β€” see you in the group chat 🫢
πŸ“¦ where this page comes from