Commit graph

1336 commits

Author SHA1 Message Date
Arun Prakash Jana 74cd15c232
Q - error & quit if no selection, else pick & quit 2020-11-13 12:40:57 +05:30
Arun Prakash Jana 7afc3eeedd
Fix #777: input stream ishould trump -s/-S
If an input stream is available, prioritize that over sessions. find/grep
syntax can be very complex and can be scripted. On the contrary, sessions
can be loaded at runtime and the persistent session can be "restored".

An interesting use case is the listing is done in picker mode from a script
and the user expects to "pick" some entries among the listed search results.

Another important change is - if the user tries to load the "last session"
explicitly by name instead of using the session option _restore_, we should
not overwrite the "last session" ("@") before loading the it.
2020-11-13 11:37:28 +05:30
Arun Prakash Jana 52b87a2492
Clean-up help 2020-11-10 20:12:49 +05:30
Arun Prakash Jana c674cb5934
Fix #775: quit on double Esc 2020-11-10 19:13:38 +05:30
Arun Prakash Jana d8d43ca85f
Fix locker not invoked 2020-11-05 20:40:31 +05:30
Arun Prakash Jana 0b31414c9a
make option O_NOUG to compile out user group info 2020-10-31 21:22:01 +05:30
Arun Prakash Jana ff5685b64d Option -U to show user and group in status bar 2020-10-31 20:48:05 +05:30
Arun Prakash Jana 234f7ae563 Fix #763: Revert "Fix #759" (makes nnn hang when used in a script)
This reverts commit c074572748.
2020-10-18 03:59:05 +05:30
Arun Prakash Jana c074572748 Fix #759 2020-10-15 08:07:32 +05:30
Tim Gates bfcf296334
docs: fix simple typo: sdtout -> stdout (#755) 2020-10-12 15:02:58 +05:30
Arun Prakash Jana afe0b0a7bd
Fix #739 #753 2020-10-10 07:38:57 +05:30
Arun Prakash Jana 881ea36f11
Fix #750: add more clarity to unmount help 2020-10-08 05:33:43 +05:30
Arun Prakash Jana 499127c698
Fix #741 2020-10-02 08:41:09 +05:30
Arun Prakash Jana 0581c3f1c7
Fix indentation 2020-09-29 20:13:17 +05:30
lvgx 78e576ae24
Fix rollover bug (#747)
* Fix rollover bug

Fixes #743

* Snap to edges in no rollover multiline scroll mode

* Style fix
2020-09-29 20:05:59 +05:30
Arun Prakash Jana 51009f8241
Fix #744 2020-09-28 22:13:33 +05:30
Arun Prakash Jana 627c5cfc36
Use inline for once-used function 2020-09-26 23:17:25 +05:30
Arun Prakash Jana 1d903a8c90
Fix #740 2020-09-26 23:04:27 +05:30
Arun Prakash Jana 55f2a0823a
Let buffer for current path be auto-allocated 2020-09-26 00:50:11 +05:30
Arun Prakash Jana 2e870f3879
Range selection: replace ^K by ^Space 2020-09-24 17:32:49 +05:30
Arun Prakash Jana faddaa5c3a
make option O_NOSSN to compile out session 2020-09-20 12:13:00 +05:30
Arun Prakash Jana 56621705e8
Fix #728 2020-09-18 20:45:47 +05:30
Arun Prakash Jana 56dec17840
Fix #735 2020-09-18 20:33:21 +05:30
Arun Prakash Jana 07e994788a Fix #730 2020-09-15 19:06:43 +05:30
Dave Snider 1fc1b8be8b
Add nerdfont defs file and normalize vars (#722)
* Add nerdfont defs file and normalize vars

* some cleanup

* address feedback

* one more spacing issue

* address feedback
2020-09-14 22:09:52 +05:30
Arun Prakash Jana 12c09e85e3
Update tagline 2020-09-11 03:13:08 +05:30
Arun Prakash Jana 835f0c16d6
Honor -C for context colors 2020-09-06 06:06:59 +05:30
Arun Prakash Jana 1696455a6f
Ad instruction on reserved bitfield 2020-09-02 01:36:56 +05:30
Arun Prakash Jana 02bb398550
Option -D to show dirs in context color 2020-09-01 22:58:03 +05:30
FriendlyNeighborhoodShane a8afbf89d5
Add option to not move to next entry on select (#713) 2020-08-30 05:32:40 +05:30
Arun Prakash Jana 2f61b0910d
Cycle time, size, clear order at sort prompt with ^T 2020-08-28 02:02:23 +05:30
lvgx bcbe8080be
Add support for Alexey Tourbin's QSORT code (#708)
* Add support for Alexey Tourbin's QSORT code

See https://github.com/svpv/qsort

* Add benchmark scripts and compilation mode

Compile with `make O_BENCHMARK=1`, and run benchmarks with e.g.:
  ./misc/test/benchmark.sh ./nnn '/' '/usr/bin' '/usr/lib' > benchdata
You can then plot basic violin graphs with:
  ./misc/test/plot-bench.py benchdata

* Update style, doc, haiku support, fix lint
2020-08-21 08:15:45 +05:30
Arun Prakash Jana 9c20f43410
Prepare for release v3.4 2020-08-18 15:33:49 +05:30
Arun Prakash Jana 551e9ca7e5
Fix #704 2020-08-18 13:15:21 +05:30
Arun Prakash Jana faea2915f4
Minor refactor 2020-08-17 23:25:27 +05:30
Arun Prakash Jana cc82403be4
More icon extns, reserve number entries 2020-08-16 16:51:55 +05:30
Arun Prakash Jana 5db2298956
Support icon-specific colors 2020-08-16 13:49:09 +05:30
Arun Prakash Jana d86810a425
Minor reformat 2020-08-16 06:54:47 +05:30
KlzXS a85467d462
Icons (#697)
* Add icons

* Fix build break

* Fix icon position in detailed mode

* Various fixes

* Provision for icon specific colors

No icons with oldcolor. Small optimizatons

* Update Makefiles

Small refinement for other matching
2020-08-16 06:30:58 +05:30
Arun Prakash Jana 8a82c58a2a
More appropriate enum name 2020-08-15 20:21:22 +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
ucs 52d3d514ce Revert "Set Escape delay to 0"
An ESCDELAY of 0 can break long escape sequences, such as the arrow keys,
on slower terminals.

This reverts commit 2599564e64.
2020-08-12 11:55:15 +02:00
Jana fb454a5046
Merge pull request #693 from CodeforEvolution/haikuUpdate
Haiku: General fixup, add icon, add rdef file
2020-08-11 22:20:01 +05:30
ucs dd6976dfad Fix some directories not opening 2020-08-10 13:02:47 +02:00
CodeforEvolution 6f9571a805 Haiku: General fixup, add icon, add rdef file
- Add a native vector icon for Haiku (it hasn't been Haiku-ified yet however)
- Add a rdef file (specifies application metadata)
- Add clipboard support, notififcation support, and basic nuke support
- Fix support for fortunes on Haiku ("-s" option is not available on Haiku)
- Cleanup Haiku recipe
2020-08-09 22:19:51 -05:00
Arun Prakash Jana aa8769ecee
Reduce a check 2020-08-09 14:04:27 +05:30
Arun Prakash Jana 966fe839ee
Support traversal on creation, update docs 2020-08-08 10:42:37 +05:30
Arun Prakash Jana c566afd819 Revert "Move helper APIs to header file"
This reverts commit 1fecdb2393.
2020-08-07 23:16:17 +05:30
Arun Prakash Jana 1fecdb2393
Move helper APIs to header file 2020-08-07 23:10:25 +05:30