@@ -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 | nnn v3.1 | ||||
2020-04-13 | 2020-04-13 | ||||
@@ -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) | - [Todd Yamakawa](https://github.com/toddyamakawa) | ||||
- and other contributors | - 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 | ## Elsewhere | ||||
@@ -11,7 +11,7 @@ else | |||||
set sessions_dir $HOME/.config/nnn/sessions | set sessions_dir $HOME/.config/nnn/sessions | ||||
end | 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 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 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' | complete -c nnn -s c -d 'cli-only opener' | ||||
@@ -9,7 +9,7 @@ | |||||
setopt localoptions noshwordsplit noksharrays | setopt localoptions noshwordsplit noksharrays | ||||
local -a args | local -a args | ||||
args=( | args=( | ||||
'(-a)-a[auto-setup NNN_FIFO]' | '(-a)-a[auto-create NNN_FIFO]' | ||||
'(-A)-A[disable dir auto-select]' | '(-A)-A[disable dir auto-select]' | ||||
'(-b)-b[bookmark key to open]:key char' | '(-b)-b[bookmark key to open]:key char' | ||||
'(-c)-c[cli-only opener]' | '(-c)-c[cli-only opener]' | ||||
@@ -128,7 +128,7 @@ packages: | |||||
deps: | deps: | ||||
- ncurses | - ncurses | ||||
- readline | - readline | ||||
opensuse.tumbleweed: | opensuse15.1: | ||||
builddeps: | builddeps: | ||||
- make | - make | ||||
- gcc | - gcc | ||||
@@ -138,7 +138,7 @@ packages: | |||||
deps: | deps: | ||||
- libncurses6 | - libncurses6 | ||||
- libreadline7 | - libreadline7 | ||||
opensuse15.1: | opensuse.tumbleweed: | ||||
builddeps: | builddeps: | ||||
- make | - make | ||||
- gcc | - gcc | ||||
@@ -147,7 +147,7 @@ packages: | |||||
- ncurses-devel | - ncurses-devel | ||||
deps: | deps: | ||||
- libncurses6 | - libncurses6 | ||||
- libreadline7 | - libreadline8 | ||||
ubuntu14.04: | ubuntu14.04: | ||||
builddeps: | builddeps: | ||||
- make | - make | ||||
@@ -1,4 +1,4 @@ | |||||
.Dd Apr 13, 2020 | .Dd May 26, 2020 | ||||
.Dt NNN 1 | .Dt NNN 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
@@ -107,7 +107,7 @@ | |||||
#include "dbg.h" | #include "dbg.h" | ||||
/* Macro definitions */ | /* Macro definitions */ | ||||
#define VERSION "3.1" | #define VERSION "3.2" | ||||
#define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn" | #define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn" | ||||
#define SESSIONS_VERSION 1 | #define SESSIONS_VERSION 1 | ||||