Midnight Captain — a Midnight Commander–inspired terminal file manager

April 12, 2026
A police officer stands by a K-9 unit car at night, holding a coffee, illuminated by streetlights.
Photo by cottonbro studio on Pexels

What it is

A new terminal file manager called Midnight Captain borrows the dual-pane, keyboard-first spirit of Midnight Commander and sprinkles in behavior from NVim-Tree. It’s built with OpenCode and aimed squarely at people who like their tools fast, modal, and keyboard-driven. It has been reported that the author — clearly nostalgic for old-school terminal ergonomics — prefers to keep the project “vibe-coded” and will not accept PRs, though issues and forks are welcome.

Features that matter

Think dual panes, inline tree expansion with l/h, and vim-like navigation (j/k/h/l, gg/G, ctrl+d/ctrl+u). Visual selection, smart file creation, fuzzy search, a command palette, and SFTP browsing via :ssh user@host round out the power-user toolkit. Nerd-font icons and a TokyoNight theme make it pleasant to look at — yes, terminal aesthetics count. Want to yank, paste, or recursively find files without leaving your shell? Midnight Captain has you covered.

Install and run

The one-liner installer aims to make adoption painless: curl -fsSL https://raw.githubusercontent.com/duguyue100/midnight-captain/main/install.sh | bash. macOS and Linux are supported; building from source requires Go 1.22+. Launch it with mc to open a dual-pane explorer in your current directory. Tab switches panes, : opens the command palette, space starts fuzzy search — small, discoverable keystrokes that add up fast.

Why it matters

Terminal file managers aren’t dead; they’ve just been waiting for someone to remix old strengths with modern tooling. Midnight Captain scratches an itch many of us still have: a compact, fast, keyboard-centric way to move and inspect files, plus the comfort of vim bindings. It’s not trying to be everything — it’s a deliberate, personal rebuild. If you like tinkering or miss the tactile pleasure of a two-pane file dance, this one’s worth a spin.

Sources: github.com/duguyue100, Hacker News