Arun Prakash Jana
e7aec90889
Add early check
2021-09-09 18:05:51 +05:30
Arun Prakash Jana
9df7e5f03e
Reformat checks
2021-09-09 09:06:09 +05:30
Arun Prakash Jana
359d7bc29c
Directory-specific sort order
2021-09-09 01:46:22 +05:30
Arun Prakash Jana
fa7cef2df7
The shell interprets "$nnn" now
2021-09-05 18:19:30 +05:30
Arun Prakash Jana
51829c8027
Reformat copy current current file name
2021-09-04 08:06:29 +05:30
Arun Prakash Jana
49be2cfcd1
Fix #1153 : sync hidden on batch rename
2021-09-04 07:23:02 +05:30
Arun Prakash Jana
ab0ab2b5f4
Use a meaningful macro
2021-09-04 07:21:59 +05:30
Daniel Eklöf
0556ac14ec
[draft] signal CWD change to terminal via OSC-7 ( #1148 )
...
* Signal CWD change to terminal via OSC-7
Closes #1147
* Make OSC-7 emission gated by NOX11
* Use newpath variable in gethostname()
Use dynamic memory for hostname
2021-08-30 20:14:05 +05:30
Arun Prakash Jana
c974690482
Fix build break
2021-08-25 20:14:55 +05:30
Arun Prakash Jana
742759f32d
Exports special variables before running plugins
2021-08-25 16:32:45 +05:30
Arun Prakash Jana
55fc0c500b
Retain original context hovered file when selecting from plugin dir
2021-08-25 01:32:40 +05:30
Arun Prakash Jana
a62dbf093a
Fix NULL file name handling
2021-08-25 00:47:52 +05:30
Arun Prakash Jana
900513710f
More special variables at prompt/shell
...
$dN: directory path open in context N
$fN: file path hovered in context N
2021-08-24 23:34:40 +05:30
Arun Prakash Jana
6243de06f4
Update help page logo
2021-08-23 11:02:53 +05:30
Arun Prakash Jana
e11cbc289a
Add a cool ASCII art to help screen
2021-08-23 04:38:54 +05:30
elder-n00b
e4813f06c1
MacOSX legacy ( #1138 )
...
* Branched v4.2
Added workaround for Mac OS X < 10.12.0
(Only tested on 10.11.6, lower versions may need more workaround)
* Added *.dSYM to .gitignore
* Added comments for the macosx detection in Makefile
* Fixed indentation, formatting and missing newline at eof
* Moved includes inside include guard
Co-authored-by: elder-n00b <elder-n00b@yandex.com>
2021-08-22 12:17:27 +05:30
Arun Prakash Jana
6c5eab5e55
Jump back last dir from plugin dir with -
2021-08-19 08:45:07 +05:30
Arun Prakash Jana
78ea6702f7
Key B to add bookmarks on the fly
2021-08-17 20:53:54 +05:30
Arun Prakash Jana
983d689a05
Disable auto-marking
2021-08-17 15:06:09 +05:30
0xACE
9d4330e382
Decide string length at compile time ( #1130 )
...
I run into many premature optimizations in our codebase which are
unnecessary.
In this particular case `strlen()` is optimized at compile time even at
`-O0` with `gcc`.
I would value higher code quality than dealing with these things in our
future endeavours. If this is accepted I may supply some more
readability patches.
2021-08-17 10:26:33 +05:30
Arun Prakash Jana
86648ab391
Fix length
2021-08-17 01:03:28 +05:30
Arun Prakash Jana
46294e9f3d
Add bookmarks directory support
2021-08-16 20:16:56 +05:30
Arun Prakash Jana
943a7c13ac
Fix broken statusbar when symlink name exceeds max cols
2021-08-15 22:07:18 +05:30
Arun Prakash Jana
7cbc79a5fc
Remove repetitive code
2021-08-14 19:27:24 +05:30
Arun Prakash Jana
e4c1abb6b8
Save full filter in session to restore correctly
2021-08-12 23:15:15 +05:30
Arun Prakash Jana
bf2b8d8c84
Decouple statusbar redraw
2021-08-12 22:09:06 +05:30
Arun Prakash Jana
fc00faf7d0
Do not modify $PWD
2021-08-12 10:46:12 +05:30
Arun Prakash Jana
42061b0399
Fail operations if selection file is empty
2021-08-12 00:20:13 +05:30
Arun Prakash Jana
06e2676421
Sync operation on selection among nnn instances
2021-08-11 21:53:42 +05:30
Arun Prakash Jana
97ac88dec2
Try to get current dir from PWD first
2021-08-10 22:34:18 +05:30
Arun Prakash Jana
e146ad0d7a
Use a different function
2021-08-10 07:06:20 +05:30
Arun Prakash Jana
59d90aa2ce
Do not resolve symlinks in argument PATH
2021-08-10 06:48:21 +05:30
Arun Prakash Jana
1df63a78e4
Do not resolve symlinks in bookmarks
2021-08-09 01:13:54 +05:30
Arun Prakash Jana
49ee5b21e7
Do not end selection mode before prompt/shell
2021-08-08 20:15:20 +05:30
Arun Prakash Jana
62a0486480
Do not end selection mode before invoking plugin
2021-08-08 18:31:29 +05:30
Arun Prakash Jana
7d17cf3f63
List open locations from active contexts in help
2021-08-07 23:55:51 +05:30
Arun Prakash Jana
87380732dc
make option O_MATCHFLTR to disable filters without match
2021-08-05 22:15:02 +05:30
Arun Prakash Jana
b54f771a44
Fix #1117 : Revert "Ignore filter key if no results"
...
This reverts commit 3ef50f06f8
.
2021-07-29 03:34:06 +05:30
Arun Prakash Jana
88e38f1efc
Eliminate redundant stat()
2021-07-27 23:04:23 +05:30
Arun Prakash Jana
6ba0a8357f
redraw() is heavy and distracting
2021-07-26 06:19:56 +05:30
Arun Prakash Jana
8cebc69e71
Fix build break
2021-07-25 07:20:43 +05:30
Arun Prakash Jana
f6856f61f7
Allow specifying output file in NNN_TMPFILE for cd on quit
2021-07-25 07:03:09 +05:30
Arun Prakash Jana
f1dbb9622d
Open controlling terminal only as stdin
2021-07-24 22:22:17 +05:30
Arun Prakash Jana
d80fdf335b
Check if file is already selected before appending in picker mode
2021-07-24 01:51:20 +05:30
Arun Prakash Jana
e2545f9596
Truncate output file before writing in picker mode
2021-07-24 01:25:28 +05:30
Arun Prakash Jana
25fab4cb2e
Open controlling terminal for input when run in a script
2021-07-23 23:46:20 +05:30
Arun Prakash Jana
bc5b39d54c
Prepare for release v4.2 Mojito
2021-07-21 17:45:39 +05:30
Arun Prakash Jana
3f07a8ca76
Press TAB to insert current file name at prompt
2021-07-21 11:24:46 +05:30
Arun Prakash Jana
7b31a356d2
Minor update
2021-07-20 23:31:40 +05:30
Arun Prakash Jana
9972c4bdb0
Fix #1110 : sanitize path from plugin
2021-07-19 03:57:53 +05:30