Просмотр исходного кода

Prepare for release v2.9

master
Arun Prakash Jana 5 лет назад
Родитель
Сommit
73a2919b7e
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: A75979F35C080412
4 измененных файлов: 65 добавлений и 4 удалений
  1. +58
    -0
      CHANGELOG
  2. +3
    -1
      nnn.1
  3. +2
    -0
      plugins/README.md
  4. +2
    -3
      src/nnn.c

+ 58
- 0
CHANGELOG Просмотреть файл

@@ -1,3 +1,61 @@
nnn v2.9
2020-01-15

- 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 (<kbd>b</kbd> or <kbd>^/</kbd>)
- single key to toggle order (<kbd>t</kbd> or <kbd>^T</kbd>)
- 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 <kbd>,</kbd>)
- toggle executable (key <kbd>*</kbd>)
- show mime along with file details
- special keys at empty filter prompt:
- apply the last filter (key <kbd>^L</kbd>)
- set to string (key <kbd>/</kbd>) or regex (key <kbd>\\</kbd>)
- toggle case-sensitivity (<kbd>:</kbd>)
- retain filter on <kbd>Esc</kbd>, <kbd>Up</kbd>, <kbd>Down</kbd>
- 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

-------------------------------------------------------------------------------

nnn v2.8.1
2019-12-05



+ 3
- 1
nnn.1 Просмотреть файл

@@ -1,4 +1,4 @@
.Dd Dec 05, 2019
.Dd Jan 15, 2020
.Dt NNN 1
.Os
.Sh NAME
@@ -232,9 +232,11 @@ when dealing with the !, e and p commands respectively. A single combination to
----------------------------------- + -------------------------------------------------
Key:Command | Description
----------------------------------- + -------------------------------------------------
e:-_vi $nnn* | Edit hovered file in vi
k:-_fuser -kiv $nnn* | Interactively kill process(es) using hovered file
l:_git log | Show git log
n:-_vi /home/user/Dropbox/dir/note* | Take quick notes in a synced file/dir of notes
p:-_less -iR $nnn* | Page through hovered file in less
s:_smplayer -minigui $nnn* | Play hovered media file, even unfinished download
x:_chmod +x $nnn | Make the hovered file executable
y:-_sync* | Flush cached writes


+ 2
- 0
plugins/README.md Просмотреть файл

@@ -110,9 +110,11 @@ Notes:

| Key:Command | Description |
|---|---|
| `e:-_vi $nnn*` | Edit hovered file in vi |
| `k:-_fuser -kiv $nnn*` | Interactively kill process(es) using hovered file |
| `l:_git log` | Show git log |
| `n:-_vi /home/user/Dropbox/dir/note*` | Take quick notes in a synced file/dir of notes |
| `p:-_less -iR $nnn*` | Page through hovered file in less |
| `s:_smplayer -minigui $nnn*` | Play hovered media file, even unfinished download |
| `x:_chmod +x $nnn` | Make the hovered file executable |
| `y:-_sync*` | Flush cached writes |


+ 2
- 3
src/nnn.c Просмотреть файл

@@ -106,7 +106,7 @@
#include "dbg.h"

/* Macro definitions */
#define VERSION "2.8.1"
#define VERSION "2.9"
#define GENERAL_INFO "BSD 2-Clause\nhttps://github.com/jarun/nnn"
#define SESSIONS_VERSION 1

@@ -2305,8 +2305,7 @@ end:
if (ln[1])
ln[REGEX_MAX - 1] = ln[1];

if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN
&& *ch != CONTROL('T') && *ch != CONTROL('F')) {
if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN && *ch != CONTROL('T')) {
ln[0] = ln[1] = '\0';
move_cursor(cur, 0);
} else if (ndents)


Загрузка…
Отмена
Сохранить