]>
Sergey Matveev's repositories - nnn.git/log
Todd Yamakawa [Wed, 3 Jun 2020 19:17:46 +0000 (14:17 -0500)]
bookmarks: Pipe error to PAGER and clean up code (#631)
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
Arun Prakash Jana [Wed, 3 Jun 2020 10:42:27 +0000 (16:12 +0530)]
Add new ToDo list
Arun Prakash Jana [Wed, 3 Jun 2020 10:26:10 +0000 (15:56 +0530)]
Esc to send hovered path to FIFO
Arun Prakash Jana [Wed, 3 Jun 2020 09:21:52 +0000 (14:51 +0530)]
Force notify on left click (right selects & updates)
Arun Prakash Jana [Wed, 3 Jun 2020 03:45:00 +0000 (09:15 +0530)]
Move Live Preview usage notes to Wiki page
Arun Prakash Jana [Tue, 2 Jun 2020 11:18:28 +0000 (16:48 +0530)]
Key | to send file path to FIFO
Arun Prakash Jana [Tue, 2 Jun 2020 10:59:26 +0000 (16:29 +0530)]
Refresh hovered for preview on mouse click
lvgx [Tue, 2 Jun 2020 08:56:50 +0000 (10:56 +0200)]
preview-tui: simplify, add generic fifo_pager() (#625)
* preview-tui: simplify, add generic fifo_pager()
I've commented new filetype checks for now, as we need to discuss which ones
should be included by default, keeping in mind that this is supposed to be a
minimal, adaptable plugin.
* preview-tui: preview with man, tar, unzip by default
Arun Prakash Jana [Tue, 2 Jun 2020 00:22:47 +0000 (05:52 +0530)]
Keep preview-tui generic
Arun Prakash Jana [Mon, 1 Jun 2020 15:51:01 +0000 (21:21 +0530)]
Fix #624: wait for user input if cmd fails
Arun Prakash Jana [Mon, 1 Jun 2020 13:52:16 +0000 (19:22 +0530)]
Support mime, extension in preview-tui
Arun Prakash Jana [Mon, 1 Jun 2020 09:49:24 +0000 (15:19 +0530)]
Fix shellcheck
Arun Prakash Jana [Mon, 1 Jun 2020 09:47:40 +0000 (15:17 +0530)]
Simplify preview-tui
Arun Prakash Jana [Mon, 1 Jun 2020 08:42:34 +0000 (14:12 +0530)]
Update preview-tui to adapt to terminal size
Arun Prakash Jana [Mon, 1 Jun 2020 08:06:02 +0000 (13:36 +0530)]
Workaround #621: preview is updated on redraw (^L)
Sijmen J. Mulder [Mon, 1 Jun 2020 01:17:03 +0000 (03:17 +0200)]
Wrap FILE_MIME_OPTS use in check (#622)
We leave it undefined on Solaris/Illumos because no such options exist,
so only use it if we have it.
Arun Prakash Jana [Sun, 31 May 2020 20:10:02 +0000 (01:40 +0530)]
Document non-repeat-refresh of file under preview
Arun Prakash Jana [Sun, 31 May 2020 17:50:08 +0000 (23:20 +0530)]
Remove redundant key F5
Arun Prakash Jana [Sun, 31 May 2020 17:35:27 +0000 (23:05 +0530)]
Do not auto-revive filter in nav-to-type mode
Arun Prakash Jana [Sun, 31 May 2020 14:40:11 +0000 (20:10 +0530)]
Simplify get_input()
Arun Prakash Jana [Sun, 31 May 2020 07:56:39 +0000 (13:26 +0530)]
Set the corrent keybind for plugin
Arun Prakash Jana [Sun, 31 May 2020 07:47:36 +0000 (13:17 +0530)]
Update template
Arun Prakash Jana [Sun, 31 May 2020 04:45:34 +0000 (10:15 +0530)]
Update docs
Arun Prakash Jana [Sat, 30 May 2020 17:55:01 +0000 (23:25 +0530)]
F5 to redraw (even with filter)
Arun Prakash Jana [Sat, 30 May 2020 16:32:36 +0000 (22:02 +0530)]
Retire ^S as select plugin
basbebe [Sat, 30 May 2020 13:18:12 +0000 (15:18 +0200)]
also send mutool to $PAGER (#615)
Arun Prakash Jana [Sat, 30 May 2020 10:01:37 +0000 (15:31 +0530)]
Remove NNN_PIPE on exit
Arun Prakash Jana [Sat, 30 May 2020 09:12:24 +0000 (14:42 +0530)]
Update docs
Arun Prakash Jana [Sat, 30 May 2020 01:29:45 +0000 (06:59 +0530)]
Support make option O_CTX8 for 8 contexts
Note that this is not compatible with 4 contexts.
Arun Prakash Jana [Sat, 30 May 2020 01:15:45 +0000 (06:45 +0530)]
Use bitfields for runtime transient states
Arun Prakash Jana [Sat, 30 May 2020 00:26:12 +0000 (05:56 +0530)]
Handle number of contexts in a generic fashion
This supports using a power of 2 number of contexts like 2, 4 or 8.
Note that the number of contexts are not backward compatible. So if
user is having 8 contexts and plans to use 4, his sessions with > 1
contexts open may break.
We can have a make option to enable 8 contexts. 4 remains default.
Arun Prakash Jana [Fri, 29 May 2020 23:54:41 +0000 (05:24 +0530)]
Revert "Alt+Enter: clear filter and exit filter prompt"
This reverts commit
2232772db4f00eb936ee66e57d35dd8bc5344d86 .
lvgx [Fri, 29 May 2020 23:47:06 +0000 (01:47 +0200)]
Add -P to man (#612)
Mischievous Meerkat [Fri, 29 May 2020 23:38:45 +0000 (05:08 +0530)]
Merge pull request #607 from leovilok/signals
Cleanly handle SIGTERM and SIGHUP
lvgx [Fri, 29 May 2020 23:21:16 +0000 (01:21 +0200)]
Fix detecting end of evironment options (#610)
This allow using both NNN_OPTS and options with arguments from argv.
Léo Villeveygoux [Fri, 29 May 2020 18:16:26 +0000 (20:16 +0200)]
Use sigaction() instead of signal()
Léo Villeveygoux [Fri, 29 May 2020 16:40:45 +0000 (18:40 +0200)]
Cleanly handle SIGTERM and SIGHUP
Arun Prakash Jana [Fri, 29 May 2020 16:46:36 +0000 (22:16 +0530)]
Alt+Enter: clear filter and exit filter prompt
basbebe [Fri, 29 May 2020 14:58:59 +0000 (16:58 +0200)]
add 'wraps' attribute to allow autocompletion (#606)
Arun Prakash Jana [Fri, 29 May 2020 03:55:33 +0000 (09:25 +0530)]
Remove F5 for toggle hidden (misfit)
Arun Prakash Jana [Fri, 29 May 2020 03:21:17 +0000 (08:51 +0530)]
Set Escape delay to 0
Arun Prakash Jana [Fri, 29 May 2020 03:16:45 +0000 (08:46 +0530)]
Alt+Esc to clear filter and exit filter prompt
It's a little annoying that one has to press ^L followed by Esc to go back
to the normal view. We cannot reload the directory on Esc because that will
break the filter filtered view feature. So we take this route.
lvgx [Wed, 27 May 2020 23:34:53 +0000 (01:34 +0200)]
preview-tui: directly call $PAGER on text files (#599)
lvgx [Wed, 27 May 2020 18:02:22 +0000 (20:02 +0200)]
preview-tui: async version using $PAGER to scroll preview (#597)
SZ Lin (林上智) [Tue, 26 May 2020 04:04:11 +0000 (12:04 +0800)]
Fix typos (#595)
This is a trial patch to fix the typos
Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
Arun Prakash Jana [Tue, 26 May 2020 00:51:01 +0000 (06:21 +0530)]
x86-64 to x86_64
Arun Prakash Jana [Mon, 25 May 2020 23:51:46 +0000 (05:21 +0530)]
Prepare for release v3.2
Arun Prakash Jana [Sun, 24 May 2020 07:29:14 +0000 (12:59 +0530)]
Use lock workflow
Arun Prakash Jana [Sun, 24 May 2020 05:39:09 +0000 (11:09 +0530)]
Update templates
Arun Prakash Jana [Sun, 24 May 2020 03:58:29 +0000 (09:28 +0530)]
Fix build break
Arun Prakash Jana [Sat, 23 May 2020 22:00:51 +0000 (03:30 +0530)]
Select file if file path is passed
Arun Prakash Jana [Sat, 23 May 2020 20:21:59 +0000 (01:51 +0530)]
Fix filterfn not in sync with cfg.regex
Arun Prakash Jana [Sat, 23 May 2020 12:37:23 +0000 (18:07 +0530)]
Add openSUSE Tumbleweed
lvgx [Sat, 23 May 2020 12:03:37 +0000 (14:03 +0200)]
Add -a option to generate a temporary NNN_FIFO (#588)
* Add -a option to generate a temporary NNN_FIFO
* Add documentation for -a option
* plugins/README.md: promote the use of -a
This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:
Polish -a
lvgx [Sat, 23 May 2020 10:29:51 +0000 (12:29 +0200)]
preview-kitty polish (async version + text render for SVGs) (#591)
* preview-kitty: async version
The plugin now aborts slow file viewers.
* preview-kitty: use text mode preview for SVG
lvgx [Fri, 22 May 2020 02:48:00 +0000 (04:48 +0200)]
Change binary file detection in preview-tui/kitty (#587)
Arun Prakash Jana [Wed, 20 May 2020 13:37:00 +0000 (19:07 +0530)]
Fix build break
Arun Prakash Jana [Wed, 20 May 2020 13:16:12 +0000 (18:46 +0530)]
Fix #582
Arun Prakash Jana [Wed, 20 May 2020 13:08:16 +0000 (18:38 +0530)]
Remove Fedora 29 (EOL)
lvgx [Tue, 19 May 2020 16:59:13 +0000 (18:59 +0200)]
Notify FIFO readers on exit (if any) (#581)
This allows to close preview windows opened just before exiting nnn.
Arun Prakash Jana [Tue, 19 May 2020 12:24:36 +0000 (17:54 +0530)]
Fix regression from commit
2200a1c
Arun Prakash Jana [Tue, 19 May 2020 03:20:04 +0000 (08:50 +0530)]
Fix build break
Arun Prakash Jana [Mon, 18 May 2020 03:35:19 +0000 (09:05 +0530)]
Option -P: specify plugin key to run on start
Arun Prakash Jana [Sun, 17 May 2020 17:24:39 +0000 (22:54 +0530)]
Take to target on Right/l on symlink in list dir
Arun Prakash Jana [Sun, 17 May 2020 12:24:10 +0000 (17:54 +0530)]
Update docs
lvgx [Sun, 17 May 2020 12:08:29 +0000 (14:08 +0200)]
Add a preview-kitty plugin (#577)
Arun Prakash Jana [Sat, 16 May 2020 19:16:49 +0000 (00:46 +0530)]
Late handle blocked mimes
Arun Prakash Jana [Sat, 16 May 2020 10:01:34 +0000 (15:31 +0530)]
Fix #575
Arun Prakash Jana [Thu, 14 May 2020 18:43:55 +0000 (00:13 +0530)]
Fix #573: update docs
Arun Prakash Jana [Thu, 14 May 2020 07:16:37 +0000 (12:46 +0530)]
Fix #571
Arun Prakash Jana [Wed, 13 May 2020 07:25:46 +0000 (12:55 +0530)]
Update docs
lvgx [Wed, 13 May 2020 05:06:59 +0000 (07:06 +0200)]
Allow launching plugins with Alt + plugin's key (#569)
* Allow launching plugins with Alt + plugin's key
* Fix Alt key in filter/prompts modes
* Fix handling Alt key in nextsel()
In filter mode: run the associated plugin.
In prompt mode: just throw out the Alt+key input.
In nextsel(): differentiate Alt+key and Esc
Arun Prakash Jana [Tue, 12 May 2020 14:20:25 +0000 (19:50 +0530)]
Add some space for badges
Arun Prakash Jana [Tue, 12 May 2020 09:45:47 +0000 (15:15 +0530)]
Skip printing and erasing
Arun Prakash Jana [Mon, 11 May 2020 22:32:55 +0000 (04:02 +0530)]
Update docs
Arun Prakash Jana [Mon, 11 May 2020 12:54:31 +0000 (18:24 +0530)]
Add asciicast image
Arun Prakash Jana [Mon, 11 May 2020 10:05:21 +0000 (15:35 +0530)]
Auto-lock old issues
Arun Prakash Jana [Sun, 10 May 2020 17:20:29 +0000 (22:50 +0530)]
Do not leak wfd
Arun Prakash Jana [Sun, 10 May 2020 13:45:40 +0000 (19:15 +0530)]
Simplify cd
Arun Prakash Jana [Sun, 10 May 2020 10:53:45 +0000 (16:23 +0530)]
Fix #565: chdir when dir is changed
Arun Prakash Jana [Sun, 10 May 2020 05:51:37 +0000 (11:21 +0530)]
Fix #564: Option -l: number of lines to move on mouse scroll
Arun Prakash Jana [Sun, 10 May 2020 05:49:13 +0000 (11:19 +0530)]
Remove blocking pipe open in child
Arun Prakash Jana [Sun, 10 May 2020 04:34:03 +0000 (10:04 +0530)]
Use standard exit status everywhere
Arun Prakash Jana [Sun, 10 May 2020 04:27:20 +0000 (09:57 +0530)]
Use exit status
Arun Prakash Jana [Sat, 9 May 2020 20:48:02 +0000 (02:18 +0530)]
Block data type
Arun Prakash Jana [Sat, 9 May 2020 19:17:02 +0000 (00:47 +0530)]
Fix reading from pipe when running plugin
Arun Prakash Jana [Sat, 9 May 2020 09:10:52 +0000 (14:40 +0530)]
Increase pipe capacity
Arun Prakash Jana [Thu, 7 May 2020 19:38:42 +0000 (01:08 +0530)]
Minor doc update
Arun Prakash Jana [Wed, 6 May 2020 17:56:40 +0000 (23:26 +0530)]
Ignore -S when start dir is specified
lvgx [Wed, 6 May 2020 17:25:14 +0000 (19:25 +0200)]
preview-tui: ensure 1st hovered file is previewed (#561)
lvgx [Wed, 6 May 2020 17:06:19 +0000 (19:06 +0200)]
getplugs: add "master" version support (#560)
Pass "master" as first argument to the script.
Arun Prakash Jana [Wed, 6 May 2020 15:58:59 +0000 (21:28 +0530)]
Ignore false lint issue
Arun Prakash Jana [Wed, 6 May 2020 15:19:21 +0000 (20:49 +0530)]
Mention tmux version required
Arun Prakash Jana [Wed, 6 May 2020 13:59:46 +0000 (19:29 +0530)]
Fix no preview update when dir changed with same entry number hovered
Arun Prakash Jana [Wed, 6 May 2020 13:33:29 +0000 (19:03 +0530)]
Fix broken dir read from pipe
Arun Prakash Jana [Wed, 6 May 2020 13:11:01 +0000 (18:41 +0530)]
Drop fzy support
Todd Yamakawa [Wed, 6 May 2020 11:54:21 +0000 (06:54 -0500)]
Add a bookmarks plugin that supports names (#558)
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
Arun Prakash Jana [Wed, 6 May 2020 05:49:39 +0000 (11:19 +0530)]
Update docs
Arun Prakash Jana [Wed, 6 May 2020 05:29:57 +0000 (10:59 +0530)]
Change requires to dependencies
Arun Prakash Jana [Wed, 6 May 2020 05:12:29 +0000 (10:42 +0530)]
Uniform plugins