Commit graph

26 commits

Author SHA1 Message Date
sjmulder
4197bdbc38 sysutils/nnn: Change maintainer to pkgsrc-users 2021-03-29 15:48:01 +00:00
sjmulder
777c4a78c7 sysutils/nnn: Update to 3.6
Changes:
- REPL command prompt (Esc or Enter to exit)
- invert selection with A
- option -u removed (always prefer selection to hovered)
- visit start dir on @ when start path is a file
- exit filter mode and redraw on ^L if no last filter
- plugin `fzcd` now selects the chosen file (#876)
- `ueberzug` support in plugin `preview-tui`
- new plugin `preview-tui-ext` with extra preview support
- clear selection after successful plugin invocation
- add method to sync subshell `$PWD` in WIki
- clear selection on single file deletion (#812)
- copy between instances not working (#864)
- plugin `togglex` to toggle exe mode of a selection (#813)
- fix `memccpy()` buffer overlap fault on macOS (#786)
- show `0 selected` msg on cp/mv with empty selection (#855)
- fix frozen terminal caused by opener (#858)
- migrate macOS CI to GitHub workflows, retire Travis
2021-03-28 12:25:38 +00:00
sjmulder
7dfc5a3db0 sysutils/nnn: Update to 3.5
Changes:
 - compile-in Alexey Tourbin's QSORT macro
 - support Nerd Font patched icons [`make O_NERD=1`]
 - auto-generate static binaries with icons support
 - audit and adapt all plugins for macOS
 - enhance plugin `dups` to delete duplicates interactively
 - plugin `autojump` now supports `jump` and `zoxide`
 - support `gio trash` to Trash [`export NNN_TRASH=2`] (#740)
 - quit program on double Esc in normal mode (#775)
 - ^Space replaces ^K for range selection/clear selection
 - show selection symbol (`+`) next to filename in detail mode (#741)
 - error & quit on Q if no selection, else pick to stdout
 - repeat ^T to cycle sort by time, size and clear
 - option `-U` to show user & group info in status bar
 - option `-J` to disable auto-proceed on select (#713)
 - option `-D` to show dirs in context color with `NNN_FCOLORS`
 - honor option `-C` for context colors
 - show indicators if more entries above/below listing (#744)
 - show missing utility name in flash msg (#753)
 - exit `preview-tabbed` on ^C (#727)
 - invoke GNU sed (_gsed_) on macOS (#728)
 - fix HW cursor moves to wrong line (#735)
 - fix rollover bug with multiline scroll (#743)
 - fix input stream not listed with `-s`/`-S` (#777)
 - fix locker not being invoked
 - make target `upx` for additional binary compression
 - compress auto-generated static binaries with upx
 - make variable `O_NOSSN` to compile out sessions
 - make variable `O_NOUG` to compile out user & group info
2020-11-17 14:22:57 +00:00
sjmulder
c4de35e512 sysutils/nnn: Update to 3.4
Changes:
 - icons with icon-specific colors (thanks @KlzXS)
 - enhanced NNN_COLORS with xterm 256 colors support
 - new colorscheme with NNN_FCOLORS (file type specific colors)
 - switch -C to force earlier colorscheme (dirs follow context color)
 - updates for Haiku (thanks @CodeforEvolution)
 - fix XFS navigation issue (thanks @ucs1)
 - optimize archive extension matching on file open
 - show location in context color
 - support host[:dir] format for remote mounts
 - clear selection after copy
 - support traversal on file/dir creation
 - show selection in reverse in status bar
 - show status bar indicator H when hidden files are listed
 - show and confirm archive command output
 - support cd on quit in picker mode
2020-08-23 22:31:29 +00:00
sjmulder
e7f5c30f5d sysutils/nnn: Update to 3.3
Changes:
 - subdir mounts for remote and archive mounts
 - remove mount point on successful unmount of remote/archive
 - show error and prompt user if cp/mv/rm operation fails
 - support absolute/relative paths in cp/mv as
 - mark current path automatically on archive/remote mount
 - mark current path automatically on target file visit in find and
   list mode
 - option -C to place HW cursor on hovered for screen readers and
   braille displays
 - option -u to use selection (if available) and skip current/sel prompt
 - key Alt+Esc to clear filter prompt and redraw
 - support Esc to cancel remove operation
 - gpge & gpgd: encrypt and decrypt with GPG
 - blknew: create new files and directories in bulk
 - preview-tui:
   - unified to support tmux/kitty/xterm/$TERMINAL
   - auto-determine split orientation based on terminal height and width
   - provision to use scope.sh and pistol
   - various other improvements
 - upload: send to Firefox Send if ffsend is found
 - hexview: add hx as alternative hex viewer
 - nuke and imgview: add imv as alternative image viewer
 - add find (with fd) and grep (with rg) examples in plugins doc
 - key Esc or left click to resend hovered file path to NNN_FIFO
 - show + instead of s in status bar on selection
 - F5 removed (misfit for toggle hidden), ^S removed (often masked,
   redundant)
 - handle abnormal program termination and remove NNN_PIPE and/or
   NNN_FIFO
 - clear selection after successful batch rename, link creation
 - make option O_CTX8 for 8 contexts (NOT backward compatible with 4
   contexts)
 - fix issue with child window resize (see #656)
 - fix issue with NNNLVL on macOS (see #639)
 - fix issue with restoring session with du/au enabled

Package changes:
 - New 8 context mode is enabled
 - Patches have been merged
2020-07-14 12:51:01 +00:00
sjmulder
89b63b2da1 sysutils/nnn: Fix build on NetBSD 9/arm64
GCC doesn't expand alloca() to __builtin_alloca() in standards mode
(-std=...) so explicitly define it as such to fix breakage on platforms
that don't seem to supply it otherwise, like NetBSD 9 on arm64.

Bump PKGREVISION.
2020-06-23 23:32:30 +00:00
sjmulder
fc3ff83e00 sysutils/nnn: Address Illumos build issues
- Fix for use of undefined macro
 - Work around system curses vs ncurses conflict
 - __EXTENSIONS__ to be able to use much of the standard library
2020-06-02 11:07:41 +00:00
sjmulder
fd2f157085 sysutils/nnn: Update to 3.2
Changes:
 - an official logo
 - previews
   - config `NNN_FIFO` to write hovered file paths a previewer can read
   - plugin `preview-tabbed`: tabbed[1]/xembed based file previewer
   - plugin `preview-tui`: simple TUI file previewer in tmux/xterm
   - plugin `preview-kitty`: preview using kitty terminal's capabilities
   - live preview[2] configuration example
 - find & list
   - send list of files from (cmd run as) plugin to  `nnn`
   - plugin `finder`: find/fd/fzf/grep/ripgrep/fzf (in subtree) and list
      in `nnn`
   - `Right` or `l` on symlink in list dir takes to target file
 - persistent session option `-S` [for disk usage, run `nnn -T d` (see
   help)]
 - hover on the file when a file path is passed as positional argument
 - go to first file or match with `'` (followed by `'` or `char`)
 - config `NNN_SEL` to specify custom selection file
 - config `NNN_LOCKER` to specify locker program
 - dim file details in detail mode
 - call `chdir()` on directory change
 - option `-l`: number of lines to move on mouse scroll
 - graphical keybind map[3]
 - let `NNN_COLORS` override `NO_COLOR`
 - plugins
   - option `-P`: run plugin by key at start
   - run plugins with `Alt+key`
   - allow `NNN_PIPE` usage by commands run as plugin
   - input format to `NNN_PIPE`: `<ctxcode><opcode><data>` (see plugins
     doc)
   - set `ctxcode` to `+` for smart context usage (next inactive, else
     current)
   - `getplugs` to fetch plugins by installed version of `nnn`
   - plugin `mimelist`: list files by mime type in subtree
   - plugin `bookmarks`: named bookmarks using symlinks
   - plugin `nbak`: backup `nnn` config
   - `nuke` adds lowdown as alternative markdown viewer
   - several plugin improvements
 - fix broken screen on resize (see #520)
 - fix broken version sort (see #550)
 - fix list and pipe modes not working together
 - fix multiple issues with listing files
 - fix `@` shown in detail mode for symlink to dir
 - fix listing files directly under `/`
 - move to `-std=c11`

Package changes:
 - To retain more backwards compatibility, on old GCC versions (<4.7),
   -std=c99 is used instead of -std=c11.

[1] https://tools.suckless.org/tabbed
[2] https://github.com/jarun/nnn/wiki/Live-previews
[3] https://github.com/jarun/nnn/wiki/Usage#graphical-map
2020-05-30 03:06:03 +00:00
sjmulder
4ab9f8805d 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
2020-04-29 09:29:38 +00:00
sjmulder
a5c77b7fa0 nnn: Update to 3.0
Changes:
- take list of files as input and show
- option -e replaces NNN_USE_EDITOR
- option -t replaces NNN_IDLE_TIMEOUT
- PCRE support
- more readline bindings for native prompts
- run GUI app as plugin
- attempt lazy unmount when regular unmount fails
- fix unmount on macOS: use umount
- detect sshfs and rclone to prompt intelligently
- auto-proceed on file open (toggle key +)
- quit with error code on Q
- additional key F5 to toggle hidden
- key e to edit in EDITOR (back on multiple user requests)
- option to edit list of files in selection is changed to E
- do not end selection on redraw
- nuke: glow as Markdown viewer
- nuke: refactor, handle some common video types by extension
- file name removed from status bar
- static Makefile target
- generate, upload static package on release
- fix crash on entering empty dir, then Down
- fix keypresses lost when showing message
- fix #227: nnn creates xdg-open zombies
2020-03-16 16:27:18 +00:00
sjmulder
9b44dfc970 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
2020-01-28 14:31:19 +00:00
sjmulder
13d56989f4 sysutils/nnn: update to 2.8.1
Changes:
 - Fix always archiving current file
 - More elaborate docs on selection changes
2019-12-05 13:46:08 +00:00
sjmulder
d0f43de6e2 sysutils/nnn: update to 2.8
Changes:
 - 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'
 - plugins
   - 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
   - fzopen renamed to fzopen
   - 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
2019-12-04 13:59:55 +00:00
sjmulder
60b2fda1cb 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
2019-10-16 16:12:42 +00:00
sjmulder
083943b6e2 nnn: Update to 2.6
Changes:
 - 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

Index: sysutils/nnn/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/nnn/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- sysutils/nnn/Makefile	17 Jun 2019 18:24:00 -0000	1.10
+++ sysutils/nnn/Makefile	7 Aug 2019 09:13:11 -0000
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.10 2019/06/17 18:24:00 sjmulder Exp $

-DISTNAME=	nnn-2.5
-PKGREVISION=	2
+DISTNAME=	nnn-2.6
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
Index: sysutils/nnn/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/nnn/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- sysutils/nnn/distinfo	29 May 2019 10:18:50 -0000	1.5
+++ sysutils/nnn/distinfo	7 Aug 2019 09:13:11 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.5 2019/05/29 10:18:50 sjmulder Exp $

-SHA1 (nnn-2.5.tar.gz) = f6ebfe389c7c2a1a2410eb01a20eb9b9ab66d9fd
-RMD160 (nnn-2.5.tar.gz) = fe817ba2d50cde019e1f5675541ddf2d28dccccd
-SHA512 (nnn-2.5.tar.gz) = eb50b5368811a9b93caa385a94b2e6a63705bd0ba1db4dc9a3a628a42d11547d53095736e4afa6f73037064b2ef883fe9a60cb048279ba0dd9889503de7e5167
-Size (nnn-2.5.tar.gz) = 71811 bytes
+SHA1 (nnn-2.6.tar.gz) = d6938abbff58f2399ebb40b5a4b2dfd77610d609
+RMD160 (nnn-2.6.tar.gz) = e690b49fc6918ef0132bbcb1e6f042e41293e73d
+SHA512 (nnn-2.6.tar.gz) = dbb445d5f3bd64640c053d04cab7c7c6aa82034c4715236129b6079c69db57c870cf255d454aeb224c85ac9d52835999403285f1d4a4c72ea8a3d439a4e9e1eb
+Size (nnn-2.6.tar.gz) = 78668 bytes
2019-08-12 11:57:45 +00:00
sjmulder
0c77138bc2 sysutils/nnn: use USE_CURSES=getmouse
No need for CURSES_INCOMPAT any more.
2019-06-17 18:24:00 +00:00
sjmulder
a0b736bcc7 sysutils/nnn: switch back to mk/curses.buildlink3.mk
It was rightly suggested that nnn's use of mouse functions unavailable
on NetBSD curses doesn't mean builtin curses couldn't be used elsewhere,
so switch back to mk/curses.buildlink3.mk and use INCOMPAT_CURSES to
exclude NetBSD.

Bump PKGREVISION because this could end up picking a different curses
implementation somewhere.
2019-06-14 06:47:01 +00:00
sjmulder
b8722d115f sysutils/nnn: fix typo, remove set_escdelay() mention
set_escdelay() is available on NetBSD 8+.
2019-06-12 21:11:44 +00:00
sjmulder
3e107b4939 sysutils/nnn: require ncurses
nnn is not compatible with NetBSD curses, requiring mouse and
set_escdelay() functions. Use ncurses instead.

Bump PKGREVISION.
2019-06-12 20:52:37 +00:00
sjmulder
2f995e9124 sysutils/nnn: update to 2.5
Upstream changes:
 - mouse support
 - 19 plugins [1] introduced. 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)
 - new location for config files - ~/.config/nnn
   - plugin dir location: ~/.config/nnn/plugins
   - selection file .nnncp is now ~/.config/nnn/.selection
 - changes to support configuration[2] 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)

[1] https://github.com/jarun/nnn/tree/master/plugins
[2] https://github.com/jarun/nnn/wiki/nnn-as-default-file-manager
2019-05-29 10:18:50 +00:00
sjmulder
2d36c8eaba Update my (sjmulder) maintainer email address 2019-05-06 09:17:12 +00:00
leot
e029e9c23a nnn: Belatedly add options.mk
(Sorry, should be part of update to 2.4!)
2019-03-19 22:43:18 +00:00
leot
8dddc19807 nnn: Update to 2.4
Patch provided by Sijmen Mulder via tech-pkg@, thanks!

pkgsrc changes:
 - New 'readline’ option (enabled by default)

Changes:
2.4
---
 - Tinier and lighter!
 - FreeDesktop.org compliant trashing
 - mark selected entries with +
 - wild mode (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
2019-03-19 22:42:39 +00:00
leot
8ed1d0479e nnn: Update to 2.3
Patch provided by Sijmen J. Mulder via tech-pkg@, thanks!

Changes:
2.3
---
 - 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 in 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, `

The new user script directory[1] isn't part of the package since the
install target nor the upstream-built packages include it.

 1: https://github.com/jarun/nnn/tree/v2.3/user-scripts
2019-02-20 17:02:29 +00:00
bsiegert
5a810f5ad6 Update nnn to 2.2.
From Sijmen Mulder via email to tech-pkg.

Upstream changes:
- (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
2019-01-05 19:33:24 +00:00
bsiegert
d81258d815 Import wip/nnn as sysutils/nnn.
From DESCR:

nnn is probably the fastest and most resource-sensitive file manager you have
ever used. It integrates seamlessly with your DE and favourite GUI utilities,
has a unique navigate-as-you-type mode with auto-select, disk usage analyzer
mode, bookmarks, contexts, application launcher, familiar navigation shortcuts,
subshell spawning and much more.

Integrate utilities like sxiv or fzy easily, transfer selected files using
lftp or use it as a (neo)vim plugin; nnn supports as many scripts as you need!
2018-12-17 14:22:52 +00:00