Prepare for release v3.2

This commit is contained in:
Arun Prakash Jana 2020-05-26 05:21:46 +05:30
parent 9b7b9d80be
commit 713bab21ea
No known key found for this signature in database
GPG key ID: A75979F35C080412
7 changed files with 61 additions and 15 deletions

View file

@ -1,3 +1,49 @@
nnn v3.2
2020-05-26
- an official logo
- previews
- config `NNN_FIFO` to write hovered file paths a previewer can read
- plugin `preview-tabbed`: [tabbed](https://tools.suckless.org/tabbed)/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](https://github.com/jarun/nnn/wiki/Live-previews) 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`
- <kbd>Right</kbd> or <kbd>l</kbd> 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 <kbd>'</kbd> (followed by <kbd>'</kbd> or <kbd>char</kbd>)
- 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](https://github.com/jarun/nnn/wiki/Usage#graphical-map)
- let `NNN_COLORS` override `NO_COLOR`
- plugins
- option `-P`: run plugin by key at start
- run plugins with <kbd>Alt+key</kbd>
- 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`
-------------------------------------------------------------------------------
nnn v3.1
2020-04-13

View file

@ -144,7 +144,7 @@ Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>),
- [Todd Yamakawa](https://github.com/toddyamakawa)
- and other contributors
Visit the [ToDo list](https://github.com/jarun/nnn/issues/506) to contribute or see the features in progress.
Visit the [ToDo list](https://github.com/jarun/nnn/issues/594) to contribute or see the features in progress.
## Elsewhere

View file

@ -11,7 +11,7 @@ else
set sessions_dir $HOME/.config/nnn/sessions
end
complete -c nnn -s a -d 'auto-setup NNN_FIFO'
complete -c nnn -s a -d 'auto-create NNN_FIFO'
complete -c nnn -s A -d 'disable dir auto-select'
complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F: -v RS=\; \'{print $1"\t"$2}\')'
complete -c nnn -s c -d 'cli-only opener'

View file

@ -9,7 +9,7 @@
setopt localoptions noshwordsplit noksharrays
local -a args
args=(
'(-a)-a[auto-setup NNN_FIFO]'
'(-a)-a[auto-create NNN_FIFO]'
'(-A)-A[disable dir auto-select]'
'(-b)-b[bookmark key to open]:key char'
'(-c)-c[cli-only opener]'

View file

@ -128,16 +128,6 @@ packages:
deps:
- ncurses
- readline
opensuse.tumbleweed:
builddeps:
- make
- gcc
- pkg-config
- readline-devel
- ncurses-devel
deps:
- libncurses6
- libreadline7
opensuse15.1:
builddeps:
- make
@ -148,6 +138,16 @@ packages:
deps:
- libncurses6
- libreadline7
opensuse.tumbleweed:
builddeps:
- make
- gcc
- pkg-config
- readline-devel
- ncurses-devel
deps:
- libncurses6
- libreadline8
ubuntu14.04:
builddeps:
- make

2
nnn.1
View file

@ -1,4 +1,4 @@
.Dd Apr 13, 2020
.Dd May 26, 2020
.Dt NNN 1
.Os
.Sh NAME

View file

@ -107,7 +107,7 @@
#include "dbg.h"
/* Macro definitions */
#define VERSION "3.1"
#define VERSION "3.2"
#define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn"
#define SESSIONS_VERSION 1