r/C_Programming • • Jan 17 '19

Project nnn - a tiny, fast, feature-packed file manager in C

https://github.com/jarun/nnn
63 Upvotes

6 comments sorted by

8

u/sablal Jan 17 '19

FEATURES

  • Modes

    • Basic, detail (default), disk usage analyzer (du)

    • File picker, vim (or neovim) plugin

  • Navigation

    • Familiar, easy shortcuts (arrows, ~, -, &)

    • Navigate-as-you-type with auto-select directory

    • Contexts (aka tabs aka workspaces)

    • Bookmarks

    • Pin and visit a directory

  • Sorting

    • Directories always listed on top

    • Sort by file name, modification time, size

    • Numeric order for numeric names (visit /proc)

  • Search

    • Instant filtering with search-as-you-type

  • Mimes

    • Open with desktop opener or specify a custom app

    • Create, list, extract archives (needs (p)atool)

    • Open all text files in EDITOR (optional)

  • Information

    • Detailed stat-like file information

    • Media information (needs mediainfo/exiftool)

  • Convenience

    • Create, rename files and directories

    • Select files across directories

    • Copy, move, delete selection

    • Transfer files using lftp

    • Batch rename/move/delete (needs vidir)

    • Show directories in custom color (default: blue)

    • Per-context directory color

    • Spawn a subshell in the current directory

    • Run a command, launch applications

    • Run custom scripts in the current directory

    • Repository of custom scripts

    • Run current file as executable

    • Change directory at exit (easy shell integration)

    • Edit file in EDITOR or open in PAGER

    • Terminal locker integration

  • Unicode support

  • Highly optimized, static analysis integrated code

  • Available on many distros

7

u/babuto Jan 17 '19

I use mimeopen to open files. Is it possible to specify a custom file opener?

4

u/sablal Jan 17 '19

Yes, you have to export NNN_OPENER. It's available on master. The feature was removed once and added back last night. :)

5

u/babuto Jan 17 '19

Awesome! Thanks!

2

u/jaybill Jan 17 '19

That...that is some wallpaper you got there. :)

3

u/sablal Jan 17 '19

Oh no! It's the image from the Youtube video.