Nnn Versions Save

n³ The unorthodox terminal file manager

v1.9

5 years ago

What's in?

  • Support unlimited number of scripts
  • Pass currently selected filename as first argument to custom scripts
  • Support directory auto-select in navigate-as-you-type mode
  • Show selection name in archive name prompt
  • Support Cygwin opener
  • Better support on RHEL 25 with earlier version of curses
  • Sample script for fzy integration
  • Now available on OpenBSD
  • Disabled package generation for Ubuntu 17.10

v1.8

6 years ago

What's in?

  • Run a custom script
  • Archive selected file/directory
  • Show number of cherry-picked files in multi-copy mode
  • Env var NNN_SHOW_HIDDEN to show hidden files by default
  • More informative help screen
  • Prefer env var VISUAL, if defined, to EDITOR
  • New/changed/remapped shortcuts
    • ^] - spawn a new shell in current directory
    • r - edit directory entries in vidir
    • R - run a custom script
    • f - archive entry
    • ^I - toggle navigate-as-you-type mode
    • L - lock the current terminal (Linux-only)
  • All Ctrl shortcuts enabled in navigate-as-you-type mode
  • Fix: GUI programs closing when parent terminal is closed
  • Recognize ~, - and & at bookmark prompt
  • Recognize ruby (.rb) files as text files
  • Efficient integer-only file size calculation
  • Official inclusion on openSUSE and Fedora
  • Package generation for Ubuntu 18.04

v1.7

6 years ago

What's in?

  • Batch rename/move/delete files in vidir from moreutils
  • Copy multiple file paths
  • Copy file paths when X is unavailable
  • Optionally quote individual file paths with single quotes on copy
  • Use ISO 8601 date format in file details
  • New/changed/remapped shortcuts:
    • ^Y - multi-path copy
    • ^B - show bookmark prompt (replaces b)
    • b - pin current dir (replaces ^B)
    • ^J - toggle du mode
    • R - batch rename files in vidir
    • ^F - extract archive (replaces ^X)
    • ^G - quit nnn and change dir
    • ^X - quit nnn (replaces ^Q)
  • Extra shortcuts enabled in navigate-as-you-type mode:
    • ^K, ^Y (file path copy)
    • ^T (toggles quoted file path copy)
    • ^R (rename)
    • ^O (open with...)
    • ^B (show bookmark prompt)
    • ^V (visit pinned dir)
    • ^J (toggle du mode)
    • ^/ (open desktop opener)
    • ^F (extract archive)
    • ^L (refresh)
    • ^G (quit nnn and change dir)
    • ^X (quit nnn)

v1.6

6 years ago

Merry Christmas!!!

nnn v1.6 is even faster and leaner! We achieved these figures: https://github.com/jarun/nnn#performance

What's in?

  • Shortcut ^O to open file with custom application
  • Option -b to open bookmarks directly at start
  • Huge performance improvements around file name storing and handling
  • Several large static buffers removed or reduced
  • Several internal algorithms fine tuned for performance/resource usage

v1.5

6 years ago

What's in?

  • File and directory creation (n)
  • Env variable NNN_NOWAIT to unblock nnn when opening files (DE-specific)
  • Show current entry number in status bar
  • Support archive listing (F) and extraction (Ctrl-X) [using atool]
  • Show correct file size on i386 for large files (> 2GB)

v1.4

6 years ago

What's in?

  • Monitor directory changes
  • In-place file rename
  • Pin a directory (Ctrl-B) and visit it anytime (Ctrl-V)
  • Auto-completion scripts
  • Show volume capacity and free in help
  • Auto-fallback to light mode if too few columns (< 35)
  • PackageCore integration
  • Unsupported Function keys (they never work universally):
    • F2 (rename), use Ctrl-R
    • F5 (refresh), use Ctrl-L

v1.3

6 years ago

What's in?

  • Show directories in custom color (default: enabled in blue)
  • Option -e to use exiftool instead of mediainfo
  • Fixed #34: nftw(3) broken with too many open descriptors
  • More concise help screen

v1.2

7 years ago

What's in?

  • Use the desktop opener (xdg-open on Linux, open(1) on OS X) to open files
  • Option NNN_USE_EDITOR to open text files in EDITOR (fallback vi)
  • Bookmark support (maximum 10, key b)
  • Navigate-as-you-type mode (key Insert or option -i)
  • Subtree search: gnome-search-tool, fallback catfish (key ^/) (customizable)
  • Show current directory content size and file count in disk usage mode
  • Add detail view mode as default, use -l to start in light mode
  • Shortcuts F2 and ^L to refresh and unfilter Note: if filter is empty, Enter opens the currently selected file now
  • Help screen shows bookmarks and configuration
  • Show a message when calculating disk usage
  • Show the spawned shell level
  • Linux only: use vlock as the locker on timeout (set using NNN_IDLE_TIMEOUT)

v1.1

7 years ago

News

  • Introducing nlay - a highly customizable bash script to handle media type
  • nnn is on Homebrew now
  • RPM packages for CentOS 7 and Fedora 24 generated on release

What's in?

  • Search-as-you-type
  • Unicode support
  • Option -S to start in disk usage analyzer mode
  • Show media information (using mediainfo)
  • Use readline at change directory prompt
  • Jump to prev directories using cd ..... (with . as PWD)
  • Jump to initial directory using &
  • Show help, mediainfo and file info in PAGER
  • Several optimizations

v1.0

7 years ago

Modifications

Behaviour and navigation

  • Detail view (default: disabled) with:
    • file type (directory, regular, symlink etc.)
    • modification time
    • human-readable file size
    • current item in reverse video
    • number of items in current directory
    • full name of currently selected file in 'bar'
  • Show details of the currently selected file (stat, file)
  • Disk usage analyzer mode (within the same fs, doesn't follow symlinks)
  • Directories first (even with sorting)
  • Sort numeric names in numeric order
  • Case-insensitive alphabetic content listing instead of upper case first
  • Key - to jump to last visited directory
  • Roll over at the first and last entries of a directory (with Up/Down keys)
  • Removed navigation restriction with relative paths (and let permissions handle it)
  • Sort entries by file size (largest to smallest)
  • Shortcut to invoke file name copier (set using environment variable NNN_COPIER)

File association

  • Set NNN_OPENER to let a desktop opener handle it all. E.g.:

    export NNN_OPENER=xdg-open
    export NNN_OPENER="gio open"
    export NNN_OPENER=gvfs-open
    
  • Selective file associations (ignored if NNN_OPENER is set):

    • Associate plain text files (determined using file) with vi
    • Associate common audio and video mimes with mpv
    • Associate PDF files with zathura
    • Removed less as default file opener (there is no universal standalone opener utility)
    • You can customize further (see how to change file associations)
  • NNN_FALLBACK_OPENER is the last line of defense:

    • If the executable in static file association is missing
    • If a file type was not handled in static file association
    • This may be the best option to set your desktop opener to
  • To enable the desktop file manager key, set NNN_DE_FILE_MANAGER. E.g.:

    export NNN_DE_FILE_MANAGER=thunar
    

Optimization

  • All redundant buffer removal
  • All frequently used local chunks now static
  • Removed some redundant string allocation and manipulation
  • Simplified some roundabout procedures
  • Compiler warnings fixed
  • strip the final binary