Up to [cvs.NetBSD.org] / pkgsrc / sysutils / nnn
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/nnn: Add x11 option and remaintain
nnn: Update to 3.1 Package changes: - Now installs completions for fish, zsh, and bash. - New option 'mouse' (enabled by default) makes mouse support optional. - New option 'pcre' (enabled by default) for Perl regular expressions. - Removed checksum for deleted patch-src_nnn.c in distinfo. Upstream changes: - unlimited bookmarks and plugin keys - status bar text in context color - support config `NO_COLOR` to disable colors - config `NNN_OPTS` to specify binary options to `nnn` - config `NNN_MCLICK` to emulate configurable key - toggle selection on right click - ignore hard links when calculating disk usage - dim (hard/sym) link names (symlink to file has `@`) - more special keys at empty filter prompt in _type-to-nav_ - key `>` to export file list - option `-F` to show fortune in help and settings screen - option `-T` to specify sort order (obsoletes `-v`) - option to clear sort order - key `T` to change time type (access/change/mod) - `.nmv` - internal fully-functional batch renamer plugin - make var `O_NOBATCH` to disable native batch renamer - `nuke` & `imgview` - open all images in directory sxiv - `nuke` - open log files in vi - plugin `x2sel` - system clipboard to selection copier - plugin `fzy` - cd using z database - plugin `fzopen` - support `FZF_DEFAULT_COMMAND` - create new context on TAB without prompt - hover and connect by dir name (within config dir) - move to next entry on current file delete - on single file copy/move, select the copied/moved file - option `-f` to to use readline history file (off by default) - use `s` in status bar to indicate selection in progress - make var `O_NOMOUSE` to disable mouse support - do not store `NNN_TRASH` and `-Q` in config/session - add sample .desktop file for XDG compatible DEs - rename _nav-as-you-type_ to _type-to-nav_ mode - fix PCRE case-insensitive regex search - fix no error msg when filter length limit exceeded - fix static package generation - fix broken abort message when started in du-mode - fix filter lost on context switch in non _type-to-nav_ mode - fix broken readline prompt - fix long strings treated as action keys in filter prompt - fix `NNNLVL` not reset when spawned shell is exited
nnn: Update to 2.9
Package changes:
- New debug option
- Fix for build failure CentOS & RHEL 6
- Workaround for startup crash on NetBSD
Upstream changes:
- all keybinds and options reviewed by the team and frozen (see #422)
- reduced number of keybinds
- greatly improved help screen readability
- nuke: sample opener (CLI-only by default) and plugin
- fast line redraws instead of full screen refresh (thanks @annagrram)
- auto archive handling by extension (see config NNN_ARCHIVE)
- Lead key simplified to bookmark key (<b> or <^/>)
- single key to toggle order (<t> or <^T>)
- plugins
- .cbcp: copy selection to system clipboard (internal, program
option -x)
- .ntfy: show noti on cp, mv, rm completion (internal, program
option -x)
- autojump: navigate using autojump
- upload: paste text files to http://ix.io, upload rest to
https://file.io
- all fuzzy plugins modified to support both fzf and fzy
- more control on plugins
- prefix - to skip directory refresh after running (cmd as) plugin
- suffix * to skip confirmation after running cmd as plugin
- indicate range selection mode with *
- list keys at bookmark and plugin key prompts
- visit to pinned dir like bookmarks (Bookmark key followed by <,>)
- toggle executable (key <*>)
- show mime along with file details
- more special keys at empty filter prompt:
- apply the last filter (<^L>)
- toggle between string and regex (</>)
- toggle case-sensitivity (<:>)
- retain filter on <Esc>, <Up>, <Down>
- show filter details when filter is on
- remove option to run filter as cmd on prompt key (can be disruptive)
- program options
- option -x: enable notis and copy selection to system clipboard
- option -g: regex filters (string filter is default now)
- option -Q: quit program without confirmation
- option -s: load session
- option -n: start in nav-as-you-type mode
- option -v: version sort
- option -V: show program version
- option -A: disable dir auto-select
- ISO 8601 compliant date in status bar
- ported to Haiku OS (thanks @annagrram)
- sort only filtered entries (to avoid directory refresh)
- fix getplugs to install hidden files
- fix several selection issues (see #400)
- fix detail mode not restored on loading session
- fix symlink to directory not auto-selected
- fix regex error on partial regex patterns
- fix symlink not shown if stat(2) on target fails
- fix flags when spawning a CLI opener as default FM
- fix issue with stat flag on Sun (no support for dirent.d_type)
- fix current file in current context not saved correctly in session
- signed source distribution on release
- simplified debugging with line numbers in logs
sysutils/nnn: update to 2.7
Upstream changes:
- 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 "CPU using %100 by nnn" (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
nnn: Belatedly add options.mk (Sorry, should be part of update to 2.4!)