From 048c5195c359767faa193aafedbbf272fe9851b0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 6 Oct 2019 20:19:22 +0530 Subject: [PATCH] Prepare for release v2.7 --- CHANGELOG | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ nnn.1 | 2 +- src/nnn.c | 4 ++-- 3 files changed, 74 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 26ebff9..65efa95 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,68 @@ +nnn v2.7 +2019-10-06 + +- plugins for image preview, image and video thumbnails +- redesigned selection workflow +- drop path prefix for 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 to next file on single file select +- path clipping for long paths +- 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] go to next active context + - Lead[ go to prev active context + - 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` + +------------------------------------------------------------------------------- + nnn v2.6 2019-08-06 @@ -34,6 +99,8 @@ nnn v2.6 - wait for user input after running a command from prompt - scrolloff set to 3 from 5 +------------------------------------------------------------------------------- + nnn v2.5 2019-05-27 @@ -69,6 +136,8 @@ nnn v2.5 - POSIX-compliant user-scripts (wherever possible) - `NNN_SCRIPT` is retired (replaced by plugins) +------------------------------------------------------------------------------- + nnn v2.4 2019-03-19 @@ -92,6 +161,8 @@ nnn v2.4 - marker msg when spawning new shell removed - rename debug file to `nnndbg` +------------------------------------------------------------------------------- + nnn v2.3 2019-02-19 diff --git a/nnn.1 b/nnn.1 index 8531255..a0f5e42 100644 --- a/nnn.1 +++ b/nnn.1 @@ -1,4 +1,4 @@ -.Dd Aug 06, 2019 +.Dd Oct 06, 2019 .Dt NNN 1 .Os .Sh NAME diff --git a/src/nnn.c b/src/nnn.c index b5f8020..67e2764 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -100,7 +100,7 @@ #include "dbg.h" /* Macro definitions */ -#define VERSION "2.6" +#define VERSION "2.7" #define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn" #ifndef S_BLKSIZE @@ -2824,7 +2824,7 @@ static void show_help(const char *path) "8↵ → l Open file/dir . Toggle show hidden\n" "9g ^A First entry G ^E Last entry\n" "cb Pin current dir ^B Go to pinned dir\n" - "6(Sh)Tab Next context d Toggle detail view\n" + "6(Sh)Tab Cycle context d Toggle detail view\n" "9, ^/ Lead key N LeadN Context N\n" "c/ Filter/Lead Ins ^N Toggle nav-as-you-type\n" "aEsc Exit prompt ^L F5 Redraw/clear prompt\n"