sfm(1)
π« 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/shif 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 wassfm-0.4, pagesfm(1)from the General Commands Manual β see you in the group chat π«Ά
π¦ where this page comes from
- nixos 26.05: sfm 0.4
- nixpkgs unstable: sfm 0.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms