Nnn Versions Save

n³ The unorthodox terminal file manager

v2.8.1

4 years ago

What's in?

  • Fix always archiving current file
  • More elaborate docs on selection changes

This release was made to fix the selection archiving issue we found after v2.8 release. Please see the v2.8 release notes for the complete list of features and fixes that went in.

v2.8

4 years ago

What's in?

  • sessions (thanks @annagrram)
  • rclone support for remote access (mount any cloud storage!!!)
  • toggle selection with Space or ^J
  • ignore events during selection so the + symbol is not lost
  • run custom (non-shell-interpreted) commands like plugins
  • configure cd-on-quit as the default behaviour
  • create parent dirs for new files and dirs, duplicate a file/dir anywhere
  • copy/move as workflow (thanks @KlzXS)
  • edit , flush selection buffer (thanks @KlzXS)
  • support xargs with minimal options (as in BusyBox) (thanks @KlzXS)
  • changed the key to size sort to z
  • additional key ] to show command prompt
  • mount archives using archivemount
  • smoother double click handling
  • program option -R to disable rollover at edges
  • keybind collision checker (for custom keybind config) (thanks @annagrram)
  • show size of file in bytes in status bar in disk usage mode
  • pass unresolved path as second argument ($2) to plugin
  • mechanism for plugins to control active directory
  • all binary questions are confirmed by y or Y
  • plugin changes
    • some plugins renamed
    • integrated shellcheck in CI, POSIX-compliance fixes (thanks @koalaman)
    • getplugs - detect modifications in exiting plugin file (thanks @KlzXS)
    • drag-file & drop-file: drag & drop files using dragon
    • gutenread: browse, download and read from Project Gutenberg
    • suedit - edit file with superuser permissions
    • fzhist - fuzzy select commands from history, edit and run
    • fzcd - change to a fuzzy-searched directory
    • rename - batch rename directory or selection using qmv or vidir
    • pskill - fuzzy list a process or zombies by name and kill
    • exetoggle - toggle executable status of hovered file
    • treeview - informative tree output with file permissions and size
    • chksum - recursively calculate checksum for files in hovered directory
    • imgsxiv instructions added to browse and rename images
  • create link to current file
  • additional key ; to execute plugin
  • more explicit force removal message
  • force non-detachable internal edits in $EDITOR (option -E)
  • export current file as $nnn (instead of $NN)
  • fix file open failure from browser when configured as default FM

v2.7

4 years ago

ode to the users

What's in?

  • user requests/pain points addressed:
    • plugins for image preview, image and video thumbnails
    • redesigned simplified selection workflow
    • drop path prefix of files in current dir for selection based archives
    • custom direct keybinds for plugins
    • libreadline .history file moved to nnn config directory
    • export current entry as $NN at command prompt
    • more informative status bar in light/detail modes
    • auto-proceed on individual file selection
    • path clipping for long paths
    • several binary config vars are now program options to support aliasing
    • completely revamped wiki
  • new program options:
    • -a to use file access time throughout the program
    • -c to indicate cli-only opener
    • -f to run filter as command on ^P
    • -o replaces config NNN_RESTRICT_NAV_OPEN
    • -t replaces config NNN_NO_AUTOSELECT
    • -r replaces config NNN_OPS_PROG
  • plugin changes:
    • vidthumb - show video thumbnails in terminal
    • mediainf - show media info (decoupled as a plugin)
    • notes - open a quick notes file/dir in $EDITOR (decoupled as a plugin)
    • dups - list duplicate files in the current directory
    • oldbigfile - list large files by access time
    • moclyrics - show lyrics of the track currently playing in MOC
    • uidgid list uid and gid of files in directory
    • mocplay - now detects if a track is playing or not
    • organize - categorize files and move to respective directories
    • pastebin - now uses ix.io paste service
    • fzy-edit - merged into fzy-open
    • viuimg - fix directory view
    • checksum - fixed POSIX compliance issues
    • boom - play music in MOC
  • keybind changes:
    • select entry: Space and ^J
    • select range (or clear selection): m and ^K
    • select all in dir: a
    • list selection: M
    • ^N replaces ^T to toggle nav-as-you-type
    • Shift TAB to reverse context cycle
    • ' to jump to first file in dir
    • S for du, A for apparent du
    • additional key : to run plugin
    • additional key F2 to rename file
    • additional key F5 to redraw
    • quit context key Leadq is removed
  • Leader key combinations:
    • Lead' to jump to first file in dir
    • Lead. toggle show hidden files
  • improved duplicate file workflow
  • improved batch rename workflow when a selection exists
  • removed the wild load option (-w)
  • removed quick notes (added plugin notes)
  • fix #225 (thanks @KlzXS)
  • fix tar/bsdtar always creating tar archives (and not by suffix)
  • fix single mouse click to select file not working
  • fix symlink to dir removed on batch rename
  • fix detail mode not set with program option -S

v2.6

4 years ago

What's new?

  • new plugins
    • view image or browse a directory of images in terminal
    • show image thumbnails
    • PDF and text file reader
    • calculate and verify checksum of selection or file
    • append (and play) selection/dir/file music in MOC
    • variable bitrate mp3 ringtone generator
    • split current file or join selection
  • better experience on Termux (and touch based devices)
    • mouse scrolling support (with ncursesw6.0 and above)
    • tap/left click to visit parent, toggle nav-as-you-type mode
  • light mode set as default
  • show status bar and use reverse video in light mode
  • changed program options
    • -d: detail mode
    • -H: show hidden files
    • -l is retired
  • support XDG_CONFIG_HOME
  • support / as an additional Leader key when filter is on
  • sort by file extension
  • use zip/unzip/tar if atool/bsdtar not found
  • support duplicate file (key ^R, same as rename file)
  • new config option NNN_SSHFS_OPTS to specify sshfs options
  • restrict opening 0 byte files (NNN_RESTRICT_0B is obsolete)
  • critical defects fixed
    • fix #276 - crash with variable length inotify event handling
    • fix #285 - hang after deleting/moving current directory
    • fix #274 - a broken prompt on empty input with libreadline
    • fix #304 - list selection from another instance
  • cmatrix as locker fallback
  • wait for user input after running a command from prompt
  • scrolloff set to 3 from 5

Note for package maintainers: Makefile target strip has to be explicit now.

v2.5

5 years ago

What's new?

  • plugin support. 19 plugins added. Some are:
    • pdfview: view a PDF in pager
    • nmount: (un)mount a storage device
    • ndiff: file and directory diff for selection
    • hexview: view a file in hex
    • imgresize: batch resize images to desktop resolution
    • ipinfo: check your IP address and whois information
    • transfer: upload a file to transfer.in
    • pastebin: paste the contents of a text file to paste.ubuntu.com
    • boom: play random music from a directory
    • nwal: set an image as wallpaper using nitrogen
    • pywal: set selected image as wallpaper, change terminal color scheme
    • getplugs: update plugins
  • SSHFS support
  • support bsdtar, simplify patool integration
  • native batch rename support (vidir dependency dropped) including selection
  • mouse support
  • new location for config files - ~/.config/nnn
    • plugin dir location: ~/.config/nnn/plugins
    • selection file .nnncp is now ~/.config/nnn/.selection
  • support configuration as the default file manager
  • per-context detail/light mode
  • case-insensitive version compare
  • shortcut to visit / - ` (backtick)
  • vim-like scrolloff support
  • ^D & ^U: scroll half page, PgDn & PdUp: scroll full page
  • fix selection across contexts
  • recognize Home and End keys at prompt for editing
  • fix broken program option -b
  • POSIX-compliant user-scripts (wherever possible)
  • NNN_SCRIPT is retired (replaced by plugins)

v2.4

5 years ago

What's in?

  • Tinier and lighter!
  • FreeDesktop.org compliant trashing
  • mark selected entries with +
  • wild load (option -w, key ^W) for nav-as-you-type
  • POSIX-compliant GUI app launcher with drop-down menu (key =)
  • new scripts:
    • upload image to imgur
    • send selection to Android using kdeconnect-cli
  • show permissions in detail mode
  • cp, mv progress bar on Linux (needs advcpmv) [BSD, macOS shows on ^T]
  • make libreadline an optional dep (reduces memory usage)
  • minimize the number of redraws
  • handle screen resize gracefully
  • option -d to show hidden files (NNN_SHOW_HIDDEN is removed)
  • additional key K to toggle selection
  • change visit start dir key to @
  • option -C to disable colors removed
  • per-context initial directory replaced by program start dir
  • marker msg when spawning new shell removed
  • rename debug file to nnndbg

v2.3

5 years ago

What's in?

  • user-contributed scripts repository
  • substring search for filters (option -s)
  • version sort (option -n)
  • key N (1 <= N <= 4) to switch to context N
  • disk usage calculation abort with ^C
  • create sym/hard link(s) to files in selection
  • archiving of selection
  • show dir symlinks along with dirs on top
  • use nnn as a file picker with picker.sh
  • fixed CJK character handling at prompts
  • bring back NNN_OPENER to specify file opener
  • env var NNN_NOTE and keybind ^N for quick notes
  • handle multiple arguments in VISUAL/EDITOR
  • show the current directory being scanned in du mode
  • select all files with Y
  • remap key to show command prompt to ^P
  • key , replaces ` as alternative Leader Key
  • keybind for visit pinned directory is now ^B
  • additional key ^V to run or select custom script
  • use libreadline for command prompt
  • reduce delay on Esc press
  • config option to avoid unexpected behaviour on 0-byte file open (see #187)
  • rename config option DISABLE_FILE_OPEN_ON_NAV to NNN_RESTRICT_NAV_OPEN
  • keys removed - $, ^, Backspace, ^H, ^P, ^M, ^W, `

v2.2

5 years ago

What's in?

  • (neo)vim plugin nnn.vim
  • macOS fixes
    • Fix issues with file copy, move, remove
    • Handle Del in rename prompt
    • Pass correct file option to identify mime
  • Support selection across directories and contexts
  • Offer option force before file remove
  • Keys Tab, ^I to go to next active context
  • Per-context directory color specified by $NNN_CONTEXT_COLORS
    • Option -c is removed
  • Option -C to disable colors
  • Choose script to run from a script directory
  • Run a command (or launch an application)
  • Run file as executable (key C)
  • Documentation on lftp integration for remote file transfers
  • Support a combined set of arguments to $EDITOR, $PAGER and $SHELL
  • Handle > 2 GB files on 32-bit ARM
  • Env var $DISABLE_FILE_OPEN_ON_NAV to disable file open on Right or l
  • NUL-terminated file paths in selection list instead of LF
  • Better support for Termux and Cygwin environments
  • Remapped keys
    • ^I - go to next active context
    • ^T - toggle navigate-as-you-type

v2.1

5 years ago

What's in?

  • Inclusion in several distros including Arch Linux official repo
  • Multiple contexts (aka tabs aka workspaces) [max 4]
  • Copy, move, remove selected files, remove current file
  • Leader key (like vim)
  • In-built GUI app launcher with up to 2 arguments (key o)
  • List copy selection (key y)
  • Env var NNN_NO_AUTOSELECT to disable dir auto-select
  • Key Esc exits prompt, ^L clears prompt
  • Program runtime help revamped
  • Static code analysis integration
  • gcc-8 warnings fixed
  • Remapped keys:
    • ^W - go to pinned dir
    • ^X - delete current entry
    • ^Q - quit program

What's out?

  • nlay is retired (functionality built into nnn)
  • chdir prompt is retired
  • Env var NNN_NO_X retired, selection now works out of the box
  • Only single-char bookmark keys (to work with Leader key)

v2.0

5 years ago

What's in?

  • Mode to show apparent size (key S)
  • Script to integrate patool instead of atool
  • Support bashlock (OS X) and lock (BSD) as terminal locker
  • Symbol @/ for symlink to dir
  • Dependency on libreadline removed