Commit graph

3903 commits

Author SHA1 Message Date
Patrick 4ddd048feb
.cbcp plugin: output a more useful error message 2022-04-30 14:44:11 +05:30
Arun Prakash Jana fd998b3045
Post-release formalities. 2022-04-26 19:03:04 +05:30
Arun Prakash Jana 3f58f6111c Prepare for release v4.5 Cachaça 2022-04-26 18:34:24 +05:30
Arun 4366247441
Merge pull request #1347 from luukvbaal/patches
Fix patch conflicts and rebase
2022-04-26 18:33:05 +05:30
Luuk van Baal 7793cb8b5c
Fix patch conflicts and rebase 2022-04-26 14:54:27 +02:00
Arun Prakash Jana cc965d1c2d
Use bold forward arrowhead for current 2022-04-26 04:26:01 +05:30
Arun Prakash Jana dc16ca2340
Add 2 spaces after icons for better visibility 2022-04-26 03:59:12 +05:30
Arun Prakash Jana 6b9f8f3666
Fix #1345: allow symlink name '@' in single file case 2022-04-20 20:20:25 +05:30
Arun 15243186c5
Merge pull request #1344 from SlIdE42/patch-1
quitcd script for Elvish shell > 0.17.0
2022-04-17 17:05:26 +05:30
SlIdE42 0812c7afac
quitcd script for Elvish shell > 0.17.0 2022-04-17 13:29:51 +02:00
Arun Prakash Jana be4460c1da
Handle broken window if started in type-to-nav 2022-04-16 18:48:52 +05:30
Arun Prakash Jana eb42f7a948
Bind ^J with toggle auto-jump on open 2022-04-16 18:04:09 +05:30
Arun Prakash Jana 2c5cb4c5aa
Replace ^J with + to (un)select
^J has been reported as out of place several times.
As `+` is used as the seleciton marker, it makes more sense.
2022-04-16 17:04:53 +05:30
Arun a555a7d122
Merge pull request #1342 from N-R-K/use_elements
consistently use ELEMENTS macro
2022-04-14 06:26:16 +05:30
NRK d0bf2abb37 consistently use ELEMENTS macro
+ some small white-space fixes
2022-04-12 22:30:22 +06:00
Arun 59cf883437
Merge pull request #1338 from JingMatrix/fix-gsconnect
Allow gsconnect to handle multiple devices
2022-04-09 16:56:30 +05:30
JingMatrix 5bc75ef4fd Allow gsconnect to handle multiple devices
When gsconnect is connected to multiple devices, the original
script won't work. Now the code will share files to all devices.
2022-04-09 11:42:31 +02:00
Arun bb875cd5e7
Merge pull request #1337 from pcapriotti/pcapriotti/quit-on-cd-docs
Clarify docs in the quit-on-cd wrapper
2022-04-07 06:26:12 +05:30
Paolo Capriotti 4220f4e2eb Clarify docs in the quit-on-cd wrapper 2022-04-06 17:28:12 +02:00
Arun Prakash Jana d66492ac10 Show reverse timestamp for young entries
Show timestamps for entries modified/created within 5 minutes in
reverse.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2022-04-02 10:15:14 +05:30
Arun Prakash Jana 88e9122c79
opener improvements
- show file name
- open hovered if none selected
- open and exit if only one file selected
- code improvements
2022-04-01 09:00:51 +05:30
Arun Prakash Jana 5745597fd5
Fix #1333: plugin openall to open selection 2022-03-31 19:29:30 +05:30
Arun 0a7742089a
Merge pull request #1331 from JingMatrix/master
Preview for djvu files
2022-03-26 04:02:44 +05:30
JingMatrix 0a59005acd Preview for djvu files 2022-03-25 17:21:11 +01:00
Arun 81226db24e
Merge pull request #1330 from N-R-K/prompt_clearsel
native prompt: clear selection on successful operation
2022-03-24 03:05:47 +05:30
NRK 72ecf6c4b8 native prompt: clear selection on successful operation
have been using the %j substitution for a bit now, it's quite nice :)
but it's also quite annoying when doing something like

	mv "%j" ./

in this case, the files have been moved but the selection is incorrectly
points to them.

when there's a successful operation made on the selection via the native
prompt, it makes sense to clear the selection.
2022-03-24 00:23:38 +06:00
Arun 675016eb55
Merge pull request #1329 from N-R-K/avoid_malloc
avoid unnessary heap allocation
2022-03-23 21:03:31 +05:30
NRK 9be6c1a5e2 avoid unnessary heap allocation
the binary size shouldn't change since it'll most likely go into the bss
section.
2022-03-22 17:50:54 +06:00
Arun Prakash Jana d38841d5f3
Support n/N to cancel forced rm 2022-03-13 12:37:50 +05:30
Arun 136549b1ba
Merge pull request #1321 from N-R-K/preview_tui_debug
preview-tui: make debugging easier
2022-03-10 22:52:46 +05:30
NRK c3534bd7e0 preview-tui: make debugging easier
i've noticed that there's a non-trival amount of issues user face
related to preview-tui. allowing all the null redirection to be easily
switched on/off can make debugging much easier, both for the users and
for us.
2022-03-09 01:48:13 +06:00
Arun Prakash Jana 57d212c3ca
Fix entry order 2022-02-27 02:06:24 +05:30
Arun Prakash Jana 66639c6053
Fix #1312 2022-02-27 01:44:30 +05:30
Arun b718d6d305
Merge pull request #1314 from Darukutsu/master
Added a user-script/plugin to send selected files using GSConnect.
2022-02-23 21:11:22 +05:30
Arun 994bc80e82
Merge pull request #1315 from N-R-K/include-hidden
export NNN_INCLUDE_HIDDEN to plugins
2022-02-23 21:08:12 +05:30
daru 633a9ca8e1 Update plugins/gsconnect
Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
2022-02-22 22:19:44 +06:00
daru d1de515532 Update plugins/gsconnect
Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
2022-02-22 22:19:44 +06:00
Darukutsu cd2445607b workaround with xargs -0
added hover over file to send
2022-02-22 22:19:44 +06:00
Darukutsu 83b6d6aff7 Added a user-script/plugin to send selected files using GSConnect. 2022-02-22 22:19:44 +06:00
NRK 2fedc92efc export NNN_INCLUDE_HIDDEN to plugins
Closes: https://github.com/jarun/nnn/issues/1308
2022-02-22 17:40:44 +06:00
Arun Prakash Jana 953643b9f1
Fix condition 2022-02-21 02:01:03 +05:30
Arun 816680ed01
Merge pull request #1313 from N-R-K/dragon_name
dragdrop: use "dragon-drop" if it exists
2022-02-20 14:22:34 +05:30
NRK a8e9d279ac dragdrop: use "dragon-drop" if it exists
to avoid name conflict some distros renamed dragon to `dragon-drop`
https://github.com/mwh/dragon/issues/17#issuecomment-889878960
2022-02-20 14:41:37 +06:00
Arun cb410e25d8
Merge pull request #1307 from N-R-K/fd_leak
don't leak inotify_fd to plugins
2022-02-15 19:48:53 +05:30
NRK 799b8fd378 don't leak inotify_fd to plugins
Closes: https://github.com/jarun/nnn/issues/1291

Co-authored-by: Daniel Eklöf <daniel@ekloef.se>
2022-02-15 19:05:58 +06:00
Arun 30bd6a4e33
Merge pull request #1306 from KlzXS/nmv_trash
Respect NNN_TRASH in .nmv
2022-02-14 07:17:49 +05:30
KlzXS 184f134c9e
Respect NNN_TRASH in .nmv 2022-02-13 10:37:21 +01:00
Arun Prakash Jana 23b54ba0cf
Open previous active context on context quit 2022-02-06 00:23:45 +05:30
Arun 866612bfda
Merge pull request #1302 from N-R-K/makefile_rebuild
rebuild if Makefile changes
2022-02-04 08:57:40 +05:30
NRK ff1c1eb2e1 rebuild if Makefile changes 2022-02-03 22:20:55 +06:00