46

Release nnn v2.7 · jarun/nnn · GitHub

 4 years ago
source link: https://github.com/jarun/nnn/releases/tag/v2.7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK