Description
fm is a terminal-based file manager written in Go. It runs inside a terminal window and lets you move through folders and view files without leaving the keyboard. It is built on the Go terminal UI libraries bubbletea, bubbles and lipgloss, with Glamour for Markdown rendering and Chroma for syntax highlighting. You can preview source code with customisable syntax themes, render Markdown in a readable style, see PDF files and display PNG and JPEG images as text. File icons appear when a Nerd Font is installed, and the layout adjusts when you resize the terminal. Three colour themes are included, default, gruvbox and nord, and the colours adapt to light or dark terminal backgrounds. You can open the selected file in the editor named in your EDITOR variable or copy the selected path to the clipboard. The README covers installing with a curl script, from the Go toolchain, or from the AUR, and it lists command-line options such as the start directory and theme. It suits developers who spend much of their time in the terminal.…
Highlights
- Terminal file browser with keyboard navigation
- Syntax highlighting and Markdown rendering
- Image and PDF preview
- Default, gruvbox and nord themes
- Opens files in your EDITOR
Ratings & Reviews
No ratings yet
Be the first to rate FM.
People also visit
FM FAQ
What is fm?
It is a terminal-based file manager written in Go, with previews for code, Markdown, images and PDFs.
How do I install it?
The README gives a curl install script, a Go install, and AUR packages for Arch Linux.
Do I need a special font for the icons?
Yes. File icons need a Nerd Font, according to the feature list.
Can it open files in my editor?
Yes. Pressing the key for the selected file opens it in the editor set in your EDITOR environment variable.
What are the best FM alternatives?
Popular alternatives to FM include Superfile, Fzfm and Vifm. See all FM alternatives
