Commit graph

476 commits

Author SHA1 Message Date
Arun Prakash Jana 279f36f628
Fix #716 2020-08-30 04:34:40 +05:30
majjejjam 3087c21be5
Added space after period (#711) 2020-08-23 18:48:58 +05:30
Arun Prakash Jana 9c20f43410
Prepare for release v3.4 2020-08-18 15:33:49 +05:30
Arun Prakash Jana 6a4ff8b825
Update docs 2020-08-17 14:08:04 +05:30
Arun Prakash Jana 1998b88c14
Update docs 2020-08-15 21:54:56 +05:30
Arun Prakash Jana 5fa16dbd15 Force accurate regex match 2020-08-15 17:32:27 +05:30
Arun Prakash Jana 9459b15672
Simplify and preprocess archive handling 2020-08-14 08:20:01 +05:30
Arun Prakash Jana 7dbf1ca3b7
Update docs 2020-08-06 10:22:17 +05:30
Arun Prakash Jana 8c2e1726ba
Show file details in file missing colors 2020-08-05 16:35:45 +05:30
Arun Prakash Jana 66bb5a67d6
Update docs 2020-08-04 22:19:01 +05:30
Arun Prakash Jana 42fd2a4d13
Program option to use older 2020-08-04 20:36:19 +05:30
Arun Prakash Jana 359b6f7a37
Clear selection list after copy
Without this, there is a conflict with using the `-u` option (use selection).
After copying selected files, the selection is intact and if the user issues
a deletion next, the source files (meant for copying) are deleted.
2020-08-02 19:16:15 +05:30
Arun Prakash Jana 83fa6a0ff6
Support xterm 256 color 2020-08-02 16:28:25 +05:30
Arun Prakash Jana f17911e189
Prepare for release v3.3 2020-07-14 05:50:22 +05:30
Arun Prakash Jana a02ff64e9c
Update help 2020-07-13 00:20:12 +05:30
Arun Prakash Jana d3e20e9015
Use the term mark instead of pin 2020-07-07 07:57:43 +05:30
Arun Prakash Jana d7e5e420eb Update docs 2020-06-16 19:09:31 +05:30
Arun Prakash Jana 4b4bf6cca5
Option -u to disable current/selection prompt 2020-06-15 19:54:44 +05:30
Ian R 1f22da2994
Feature #534: Support hardware cursor sync 2020-06-11 11:30:43 +05:30
Arun Prakash Jana 2d5952fef7
Update docs 2020-06-11 11:11:35 +05:30
Arun Prakash Jana aea8f737f6
Update docs 2020-06-09 11:44:20 +05:30
Arun Prakash Jana 63e90c573b
Move Live Preview usage notes to Wiki page 2020-06-03 09:15:00 +05:30
Arun Prakash Jana 9de3a3c2ec
Update docs 2020-05-31 10:20:57 +05:30
lvgx f4acf23c15
Add -P to man (#612) 2020-05-30 05:17:06 +05:30
SZ Lin (林上智) b6762e292c
Fix typos (#595)
This is a trial patch to fix the typos

Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
2020-05-26 09:34:11 +05:30
Arun Prakash Jana 713bab21ea
Prepare for release v3.2 2020-05-26 05:38:38 +05:30
lvgx b1027150ed
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
2020-05-23 17:40:51 +05:30
Arun Prakash Jana cafcf1c485
Take to target on Right/l on symlink in list dir 2020-05-17 22:54:39 +05:30
Arun Prakash Jana 0f01bd7d3a
Fix #573: update docs 2020-05-15 00:13:55 +05:30
Arun Prakash Jana 23770ed049
Update docs 2020-05-13 12:55:46 +05:30
lvgx 2200a1c9be
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
2020-05-13 12:29:47 +05:30
Arun Prakash Jana 14beb0746f
Fix #564: Option -l: number of lines to move on mouse scroll 2020-05-10 11:22:02 +05:30
Arun Prakash Jana 33c4b1e7a2
Update docs 2020-05-06 01:46:06 +05:30
Arun Prakash Jana a563c1a553
Update docs 2020-05-05 23:09:24 +05:30
Arun Prakash Jana a950510342
Update docs 2020-05-04 20:17:40 +05:30
Arun Prakash Jana 69e132e36d
Update docs 2020-05-04 09:50:31 +05:30
lvgx 86e579799b
Add an option to print hovered files to a FIFO (#548)
* Add an option to print hovered files to a FIFO

This adds an env variable, `NNN_FIFO`, that can be set to a path that
`nnn` will open/create as a FIFO, and where every hovered file's path is
printed. This allows creating external perview/quick open plugins, ...

It can be compiled out with the make variable `O_NOFIFO`.

* Check filename ptr instead of full path (for FIFO)

* Add documentation to use NNN_FIFO in plugins

* Fix path sent to FIFO in empty dirs
2020-05-04 09:35:13 +05:30
Arun Prakash Jana bc572df55a
NNN_SEL: custom selection file 2020-04-24 18:12:18 +05:30
Arun Prakash Jana 645f43355e
Fix #526: persistent session 2020-04-18 04:54:07 +05:30
Arun Prakash Jana 63c177bb15
Env var NNN_LOCKER 2020-04-16 00:29:45 +05:30
Arun Prakash Jana 555492276c
Update docs 2020-04-14 03:02:53 +05:30
lvgx a6cef2504c
Make NNN_COLORS override NO_COLORS (#515) 2020-04-13 22:21:56 +05:30
Arun Prakash Jana 315132b363
Happy Birthday nnn! 🍰 2020-04-13 09:01:09 +05:30
Arun Prakash Jana f54d51c863
Change nav-as-you-type to type-to-nav 2020-04-12 22:39:14 +05:30
Arun Prakash Jana 36ae4b8250
Hover on dir and connect remote 2020-04-10 19:53:16 +05:30
Arun Prakash Jana f93bb79de8
Update docs 2020-04-10 18:30:59 +05:30
Arun Prakash Jana e5ba4f69bb
Update docs 2020-04-09 11:55:44 +05:30
Arun Prakash Jana 1014d941b1
Support only NO_COLOR, revert -C to disable color 2020-04-05 13:07:18 +05:30
lvgx f14fb9c0f9
Add suport for "standard" NO_COLOR env variable (#508)
See https://no-color.org
2020-04-05 03:56:18 +02:00
Arun Prakash Jana 02c02c520d
Option -C to disable color 2020-04-05 05:53:46 +05:30
Arun Prakash Jana eea1b5da7d
Update docs 2020-03-31 01:59:30 +05:30
Arun Prakash Jana 54d2580799
Add fortune to help 2020-03-30 09:09:11 +05:30
Arun Prakash Jana 22ccf5e2e6
Support time type (access/change/mod) change 2020-03-28 09:20:14 +05:30
Arun Prakash Jana 5e8f0aec35
Add regex exclude example 2020-03-21 00:55:46 +05:30
Arun Prakash Jana 41f80f1f60
Key > to export file list 2020-03-20 23:46:58 +05:30
Arun Prakash Jana 0c55977465
Fix #496: option -f to use readline history file 2020-03-20 22:24:49 +05:30
Arun Prakash Jana f4786da9bc
Option -T obsoletes option -v 2020-03-18 02:41:30 +05:30
Arun Prakash Jana 85379a703b
Option -T to change default sort order 2020-03-18 02:35:05 +05:30
Arun Prakash Jana a2c2332fc5
Update man page 2020-03-15 20:55:14 +05:30
Arun Prakash Jana 233b801131
Case-insensitive Ctrl-key handling, man page update 2020-03-11 09:50:26 +05:30
Arun Prakash Jana bf89040ace
Case-insensitive Ctrl-key handling, man page update 2020-03-11 09:14:59 +05:30
lvgx c9a17d80be
Add middle click copy (#491)
* Add middle click copy

* Make middle click action configurable

This introduces the NNN_MIDDLECLICK environment variable, containing the
key that middle mouse click emulates. Only the first character is read.

* Document NNN_MIDDLECLICK in nnn.1

* Use NNN_MCLICK instead of NNN_MIDDLECLICK

* Add '^key' syntax to set middle click to Ctrl+Key
2020-03-11 09:09:57 +05:30
Arun Prakash Jana 020619d2b8
Remove mention of Lead key 2020-03-05 00:20:51 +05:30
Arun Prakash Jana 88167511f6
Unlimited bookmarks and plugin keys 2020-02-28 19:23:57 +05:30
Arun Prakash Jana b5339c2dc5
Update man page 2020-02-27 19:51:04 +05:30
Arun Prakash Jana dd5b419742
Treat ~ as special shortcut in filterentries 2020-02-22 21:25:05 +05:30
Arun Prakash Jana bc7a81921e
Prepare for release v3.0 2020-02-12 07:30:15 +05:30
Arun Prakash Jana 3d5815c5d1
Fix man 2020-02-09 05:40:24 +05:30
Arun Prakash Jana 43fc9890e8
When a file is edited, vim adds a \n at the end 2020-02-09 05:38:12 +05:30
Arun Prakash Jana 05ae384b2d
Document list files 2020-02-03 08:46:14 +05:30
Arun Prakash Jana 04d9b667ed
Remove redundant example 2020-02-02 13:47:42 +05:30
Arun Prakash Jana 6aed714347
Run GUI app as plugin 2020-01-30 23:41:19 +05:30
Arun Prakash Jana 4d01aa78ae
Shorten env vars 2020-01-18 21:05:44 +05:30
Arun Prakash Jana 64667b377d
Options -e and -t
Replaces the following environment variables:
- NNN_USE_EDITOR
- NNN_IDLE_TIMEOUT
2020-01-17 19:37:57 +05:30
Arun Prakash Jana 2c6fb0eefc
Use shorter lines in man page 2020-01-15 11:09:51 +05:30
Arun Prakash Jana 0222b75c2e
Use / to toggle string and regex 2020-01-15 10:05:19 +05:30
Arun Prakash Jana 73a2919b7e
Prepare for release v2.9 2020-01-15 09:42:23 +05:30
Arun Prakash Jana 69efec865a
List from selection file if nothing selected 2020-01-14 00:31:20 +05:30
Arun Prakash Jana 61e03e0961
Update docs 2020-01-12 19:38:15 +05:30
Arun Prakash Jana 99d15815f0
Use : for filter case 2020-01-11 21:49:35 +05:30
Arun Prakash Jana 70dcbf43d7
Toggle filter case-sensitivity 2020-01-11 16:12:34 +05:30
Arun Prakash Jana 8588b3f0bd
Support regex/substring filter switch 2020-01-11 11:38:31 +05:30
Arun Prakash Jana 7bf7894022
Use option -A to disable dir auto-select 2020-01-09 03:34:10 +05:30
Arun Prakash Jana f92658f31e
Add examples of useful commands to run as plugin 2020-01-08 23:20:46 +05:30
Arun Prakash Jana f90c37cd5e
Automagically handle archives 2019-12-29 23:21:18 +05:30
Arun Prakash Jana e3e6e1671a
Keybind v for version sort 2019-12-28 11:15:38 +05:30
Arun Prakash Jana 1003c0f8fc
Option n - nav as you type, V - version sort 2019-12-25 22:33:38 +05:30
Arun Prakash Jana 06920d7d9d Revert "Fix #420: reduce Lead key to bookmark key"
This reverts commit 1ed5febe0c.
2019-12-25 22:18:36 +05:30
Arun Prakash Jana ffb0b0e3c2 Revert "Use b and ^B as bookmark key"
This reverts commit 278fcfdfc9.
2019-12-25 22:18:09 +05:30
Arun Prakash Jana 278fcfdfc9
Use b and ^B as bookmark key 2019-12-25 14:37:51 +05:30
Arun Prakash Jana 1ed5febe0c
Fix #420: reduce Lead key to bookmark key 2019-12-25 12:15:03 +05:30
Arun Prakash Jana 37988cf854
Program option to load session is now -s
- remove auto-stored session "@" on restore
- minor help update
2019-12-20 15:49:13 +05:30
Arun Prakash Jana 9725c17d20 Revert "Internal states, sessions changes"
This reverts commit cf388649b9.
2019-12-20 15:30:53 +05:30
Arun Prakash Jana cf388649b9
Internal states, sessions changes
- replace bools for internal non-persistent binary states with an uchar
- do not store path to session, derive from config path in tmp buffer
- program option to load session is not `-s`
- remove auto-stored session "@" on restore
- minor help update
2019-12-19 08:45:26 +05:30
Arun Prakash Jana 208a6605f5
Fix #402 2019-12-14 23:28:13 +05:30
Arun Prakash Jana 95f530854d
remove program option -f 2019-12-14 20:25:23 +05:30
Arun Prakash Jana 04d10fc94b
Use string filters by default 2019-12-14 14:15:07 +05:30
Arun Prakash Jana 1f0f3fdf01
Update man 2019-12-14 00:17:16 +05:30
Arun Prakash Jana fd8a8387b8
Add option to show noti and copy selection to system clipboard 2019-12-12 19:51:08 +05:30
Arun Prakash Jana 8d143bb87f
Disable partial regex errors 2019-12-10 18:37:10 +05:30
Arun Prakash Jana bc025ceb5a
Fix regex for file extension 2019-12-09 23:41:25 +05:30
Arun Prakash Jana 77ebfff98b
Rename opener nplay to nuke 2019-12-08 20:27:06 +05:30
Arun Prakash Jana 5826da920f
Add nplay: a custom opener 2019-12-07 23:04:40 +05:30
Arun Prakash Jana 90108ba763
Prepare for release v2.8.1 2019-12-05 04:47:32 +05:30
Arun Prakash Jana c139178916
Add more details on selection 2019-12-04 18:54:25 +05:30
Arun Prakash Jana cc36aa8d49
Prepare for release v2.8 2019-12-04 02:58:27 +05:30
Arun Prakash Jana 3f0c604111
Option -R to disable rollover at edges 2019-12-01 23:00:06 +05:30
Arun Prakash Jana f231c35ef9
Update docs 2019-11-30 02:21:59 +05:30
Arun Prakash Jana f9058e1aaa
Support link creation for hovered file 2019-11-29 20:58:12 +05:30
Arun Prakash Jana e6f9d6d2d0
Add rclone support for remote access 2019-11-24 21:24:32 +05:30
Arun Prakash Jana c4483a8956
Update docs on -E 2019-11-24 19:23:09 +05:30
Arun Prakash Jana 5d0af863b5
Set hovered and file as 2019-11-24 02:13:27 +05:30
Arun Prakash Jana 594d645e25
Rename plugins, group related ones 2019-11-22 17:51:13 +05:30
Arun Prakash Jana cb3ee616c2
update man page 2019-11-21 02:38:34 +05:30
Arun Prakash Jana 3004694cd4 Update man page on executing commands directly.
Remove extra static string.
2019-11-18 18:57:04 +05:30
Arun Prakash Jana 3aebeaec58
Update docs on session 2019-10-19 04:03:46 +05:30
Anna Arad 60dac94a5e Implementing sessions support (#360)
* Initial commit of sessions implementation

* Reduce code duplication

* Move load session to program flag -e

* Fix context initialization problem when loading session

* Add pinned directory to session and reduce session file size

* Make load_session print an error if exists and few minor adjustments

* Refactor session's file structure

* Initialize required structures in load_session before loading

* Add load session dynamically, restore last session, and extra fixes

* Fix indentation

* Add sessions documentation to man page

* Update fish completions with sessions and make some improvements

* Move to single keybinding session management and add help info

* ESC when asked to insert session name behaves better

* Add sessions completion for bash

* Remove pinned dir from session and minor code refactors
2019-10-19 03:41:39 +05:30
Arun Prakash Jana d1d491c102
Fix #350: cd on quit if NNN_TMPFILE is set 2019-10-11 23:19:25 +05:30
Arun Prakash Jana c99a47d688
Update man page on -K 2019-10-11 21:26:03 +05:30
Arun Prakash Jana b42efcbb1f
Document edit selection 2019-10-10 19:26:08 +05:30
Arun Prakash Jana 7965fa1b0d
Fix #342: mention as Lead key in docs 2019-10-10 08:30:17 +05:30
Arun Prakash Jana 84bb0b5bfe
Update doc on deselect, file size 2019-10-09 19:51:51 +05:30
Arun Prakash Jana 2d50a0db50
Update doc 2019-10-08 19:45:29 +05:30
Arun Prakash Jana b4ba845fe3
Remove obsolete troubleshooting note 2019-10-08 01:47:52 +05:30
Arun Prakash Jana 048c5195c3
Prepare for release v2.7 2019-10-06 20:19:22 +05:30
Arun Prakash Jana 9ff7ed9291
Update docs 2019-10-06 19:52:30 +05:30
Arun Prakash Jana add2db80f2
Update man 2019-10-03 03:46:44 +05:30
Arun Prakash Jana 9f68e74289 Revert "Fix #334: Detect session type"
This reverts commit e226e8c889.
2019-10-03 03:33:15 +05:30
Arun Prakash Jana e226e8c889
Fix #334: Detect session type 2019-10-03 02:38:26 +05:30
Arun Prakash Jana 5f4046b63d
Fix #334 2019-10-02 23:04:56 +05:30
Arun Prakash Jana 7cae5dfe44
Shortcut to list selection y is now M 2019-09-30 18:54:27 +05:30
Arun Prakash Jana 17de5bfc27
Use better keys for selection mode 2019-09-29 22:59:27 +05:30
Arun Prakash Jana 6f856dbe74
Update docs 2019-09-28 21:28:43 +05:30
Arun Prakash Jana d7ce06b10b
Add plugin to take quick notes 2019-09-26 19:56:43 +05:30
Arun Prakash Jana 450601bea5
Update docs 2019-09-16 21:01:56 +05:30
Arun Prakash Jana c3ce5bc705
Preserve attributes on duplicate, update docs 2019-09-11 18:28:41 +05:30
Arun Prakash Jana bb5ef221b3
Run a command at filter prompt
This is a conveninece for nav-as-you-type mode.
With this program option, on pressing ^P, the filter is  executed as cmd.
2019-09-11 14:54:23 +05:30
Arun Prakash Jana 460fe7c080
Update example 2019-08-30 21:03:39 +05:30
Arun Prakash Jana ec873ab4fa
Option -a to use file access time 2019-08-30 21:00:47 +05:30
Arun Prakash Jana 94c3af873c
Implement mediainfo as a plugin 2019-08-28 00:02:33 +05:30
Arun Prakash Jana a4d8d68c7d
Option -r to show cp, mv progress on Linux 2019-08-23 20:28:56 +05:30
Arun Prakash Jana 6ea75cfd8d
Fix broken links, update docs 2019-08-21 08:59:39 +05:30
Arun Prakash Jana f4f1acf856
Remove wild load option 2019-08-20 20:00:48 +05:30
Arun Prakash Jana e9f7b6aa6c
Option -t replaces NNN_NO_AUTOSELECT 2019-08-17 00:07:38 +05:30
Arun Prakash Jana ac815c692a
Option -o replaces NNN_RESTRICT_NAV_OPEN 2019-08-16 23:40:43 +05:30
Arun Prakash Jana 1294a9caf5
Revert rename cp mv progress 2019-08-16 22:22:45 +05:30
Arun Prakash Jana 02b3273233
Use key-plugin pairs for running plugins 2019-08-14 21:58:18 +05:30
Arun Prakash Jana 7b59a7dba9
Rename cp mv progress conf 2019-08-14 19:10:41 +05:30
Arun Prakash Jana 75bfcb1834
Prepare for release v2.6 2019-08-06 04:13:10 +05:30
Arun Prakash Jana 9fdfd9388d
Light mode as default, options changed
-d is to show detail mode
-H is to show hidden files
-l is retired
2019-08-04 09:55:14 +05:30