A minimal lf-style terminal file manager
whose preview pane renders text files the way
bat /
rubric do: syntax highlighting (via
chroma) with a line-number gutter,
instead of lf's plain-text preview.
Install
go install goforge.dev/lsf@latest
Usage
lsf [directory]
Three miller columns: parent directory, current directory, preview. The
preview shows highlighted text for regular files, a listing for directories,
binary for binary files, and the target for symlinks.
Command lsf is a minimal lf-style terminal file manager whose preview pane
renders text files bat-style: chroma syntax highlighting plus a line-number
gutter.
Keys: q quit · hjkl/arrows move · enter/l open · gg/G top/bottom ·
ctrl-d/u half page · ctrl-f/b page · zh or . toggle hidden · / search ·
n/N next/prev match · e edit · v view with rubric · r reload.