Skip to content

Commit

Permalink
Prepare for release v3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed May 26, 2020
1 parent 9b7b9d8 commit 713bab2
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 8 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion misc/auto-completion/fish/nnn.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion misc/auto-completion/zsh/_nnn
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down
6 changes: 3 additions & 3 deletions misc/packagecore/packagecore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ packages:
deps:
- ncurses
- readline
opensuse.tumbleweed:
opensuse15.1:
builddeps:
- make
- gcc
Expand All @@ -138,7 +138,7 @@ packages:
deps:
- libncurses6
- libreadline7
opensuse15.1:
opensuse.tumbleweed:
builddeps:
- make
- gcc
Expand All @@ -147,7 +147,7 @@ packages:
- ncurses-devel
deps:
- libncurses6
- libreadline7
- libreadline8
ubuntu14.04:
builddeps:
- make
Expand Down
2 changes: 1 addition & 1 deletion nnn.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.Dd Apr 13, 2020
.Dd May 26, 2020
.Dt NNN 1
.Os
.Sh NAME
Expand Down
2 changes: 1 addition & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

9 comments on commit 713bab2

@jarun
Copy link
Owner Author

@jarun jarun commented on 713bab2 May 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szlin
Copy link
Collaborator

@szlin szlin commented on 713bab2 May 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun The new version of nnn has been uploaded

@dilawar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Submitted to openSUSE.

@jarun
Copy link
Owner Author

@jarun jarun commented on 713bab2 May 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks guys!

@sjmulder
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work again! Submitted for review in pkgsrc.

@jarun
Copy link
Owner Author

@jarun jarun commented on 713bab2 May 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jarun
Copy link
Owner Author

@jarun jarun commented on 713bab2 May 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eclipso any update on Fedora?

@fornwall
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun The Termux package has been updated, thanks for the notice!

@jarun
Copy link
Owner Author

@jarun jarun commented on 713bab2 May 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.