← 全部工具

jarun/nnn

热度 75 更新于 网络与系统管理

n³ The unorthodox terminal file manager

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

<h3 align="center"<img src="misc/logo/logo-128x128.png" alt="nnn"<brnnn - <iSupercharge your productivity!</i</h3

<p align="center" <a href="https://github.com/jarun/nnn/releases/latest"<img src="https://img.shields.io/github/release/jarun/nnn.svg?maxAge=600&label=rel" alt="Latest release" /</a <a href="https://repology.org/project/nnn/versions"<img src="https://repology.org/badge/tiny-repos/nnn.svg?header=repos" alt="Availability"</a <a href="https://circleci.com/gh/jarun/workflows/nnn"<img src="https://img.shields.io/circleci/project/github/jarun/nnn.svg?label=CircleCI" alt="Circle CI Status" /</a <a href="https://github.com/jarun/nnn/actions"<img src="https://github.com/jarun/nnn/actions/workflows/ci.yml/badge.svg?branch=master" alt="GitHub CI Status" /</a <a href="https://en.wikipedia.org/wiki/Privacy-invasivesoftware"<img src="https://img.shields.io/badge/privacy-✓-crimson?maxAge=2592000" alt="Privacy Awareness" /</a <a href="https://github.com/jarun/nnn/blob/master/LICENSE"<img src="https://img.shields.io/badge/©-BSD%202--Clause-important.svg?maxAge=2592000" alt="License" /</a </p

<p align="center"<a href="https://github.com/user-attachments/assets/541ca36d-ae26-49fb-97da-d1f7a12d4b9a"<img src="https://github.com/user-attachments/assets/a8ee4689-1552-4fb1-997e-b16fe8ef5086"</a</p

<h3 align="center"[<a href="https://github.com/jarun/nnn#features"Features</a] $~~$ [<a href="https://github.com/jarun/nnn#quickstart"Quickstart</a] $~~$ [<a href="https://github.com/jarun/nnn/tree/master/plugins#nnn-plugins"Plugins</a] $~~$ [<a href="https://github.com/jarun/nnn/wiki"Wiki</a]</h3

nnn (n³) is a full-featured terminal file manager. It's tiny (~150 KiB), nearly 0-config and incredibly fast.

It is designed to be unobtrusive with smart workflows to match the trains of thought.

nnn can analyze disk usage, batch rename, launch apps and pick files. The plugin repository has tons of plugins to extend the capabilities further e.g. live previews, (un)mount disks, find & list, file/dir diff, upload files. A patch framework hosts sizable user-submitted patches which are subjective in nature.

Independent (neo)vim plugins - nnn.vim, vim-floaterm nnn wrapper and nnn.nvim (neovim exclusive).

Runs on the Pi, Termux (Android), Linux, macOS, BSD, Haiku, Cygwin, WSL, across DEs or a strictly CLI env.

(more use cases)

<a href="https://build.demoshell.com/launch?snapshot=demoshell%2Ftui%3Annn"<img src="https://build.demoshell.com/v1/embed/badge.svg" alt="Live demo by Demoshell" align="absmiddle"</a

Features

  • Quality
  • Privacy-aware (no unconfirmed user data collection)
  • POSIX-compliant, follows Linux kernel coding style
  • Highly optimized, static analysis integrated code
  • Frugal
  • Typically needs less than 3.5MB resident memory
  • Works with 8 colors (and xterm 256 colors)
  • Disk-IO sensitive (few disk reads and writes)
  • No FPU usage (all integer maths, even for file size)
  • Minimizes screen refresh with fast line redraws
  • Tiny binary (typically around 100KB)
  • 1-column mode for smaller terminals and form factors
  • Hackable - compile in/out features and dependencies
  • Portable
  • Language-agnostic plugins
  • Static binary available (no need to install)
  • Minimal library deps, easy to compile
  • No config file, minimal config with sensible defaults
  • Plugin to backup configuration
  • Widely available on many packagers
  • Touch enabled, handheld-friendly shortcuts
  • Unicode support
  • Modes
  • Light (default), detail
  • Disk usage analyzer (block/apparent)
  • File picker, (neo)vim plugin
  • Navigation
  • Filter with automatic dir entry on unique match
  • Type-to-nav (turbo navigation/always filter) mode
  • Jump to an entry with visible relative offset
  • Contexts (aka tabs/workspaces) with custom colors
  • Sessions, bookmarks, mark and visit a dir
  • Remote mounts (needs sshfs, rclone)
  • Familiar shortcuts (arrows, <kbd~</kbd, <kbd-</kbd, <kbd@</kbd), quick look-up
  • cd on quit (easy shell integration)
  • Proceed to next file on file open and selection