Commit graph

578 commits

Author SHA1 Message Date
luukvbaal ed7afd2dd1
Improve preview-tui kitty documentation 2022-05-23 17:25:19 +02:00
cain-dev b3f16e7671
Reference dependency needed for kitty preview 2022-05-13 16:41:42 -03:00
Arun Prakash Jana 18a6a010cf
Fix #1355: interpret suffix $nnn when paging 2022-05-10 19:46:19 +05:30
Patrick 4ddd048feb
.cbcp plugin: output a more useful error message 2022-04-30 14:44:11 +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 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
JingMatrix 0a59005acd Preview for djvu files 2022-03-25 17:21:11 +01:00
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 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
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
KlzXS 184f134c9e
Respect NNN_TRASH in .nmv 2022-02-13 10:37:21 +01:00
Arun fbb2172627
Merge pull request #1300 from N-R-K/rsynccp_fix
[rsynccp & fzcd]: avoid using non-portable xargs flag
2022-02-01 18:28:41 +05:30
NRK 24db74fd7b fzcd: avoid using non-portable xargs flag 2022-02-01 18:00:20 +06:00
NRK ffd0468f67 rsynccp: avoid using non-portable flags
Closes: https://github.com/jarun/nnn/issues/1299
2022-02-01 16:29:40 +06:00
Luuk van Baal ecad3e0524
Preview-tui support windows terminal split
Co-authored-by: WanderLanz
2022-01-17 14:20:27 +01:00
Arun b8b0bab426
Merge pull request #1288 from Anomalocaridid/fix-nuke-imv
add support for imv when named imv in nuke
2022-01-09 16:16:37 +05:30
Anomalocaridid efa960d022 add support for imv when named imv in nuke 2022-01-08 16:21:49 -05:00
lwnctd 49aa4dabf1 Remove trailing blanks to assure .desktop suffix for xdg-mime. 2022-01-08 05:34:20 +03:00
Patrick fe0608116a
introduce new plugin for jumping git root 2021-12-25 08:13:43 +05:30
Luuk van Baal beafeaaea2
Preview-tui fix gif conversion 2021-12-25 08:13:40 +05:30
Luuk van Baal a3d660b673
Preview-tui fix gif whitespace name 2021-12-25 08:13:39 +05:30
Luuk van Baal 06bf4f5dce
Replace restorepreview workaround 2021-12-25 08:13:38 +05:30
KlzXS 3be2dd8390
Remove -E from sed in plugins 2021-12-25 08:13:35 +05:30
Toni Jarjour 8755a3c0cf
n/sxiv play gifs automatically from tabbed 2021-11-14 20:56:32 -05:00
Luuk van Baal 84bfbcf4e7 Preview-tui pass pts device in env variable 2021-11-12 13:57:27 +01:00
Luuk van Baal e94f90c89a Preview-tui ensure pts device for tput in subshell 2021-11-11 17:35:10 +01:00
Arun 8b7feff4b6
Merge pull request #1232 from KlzXS/nmv_list_env
Env variable should be not set, not set to 0
2021-11-11 06:06:37 +05:30
Arun bd7f127ad9
Merge pull request #1231 from luukvbaal/preview-tui
Preview-tui workaround for ncurses tput regression
2021-11-11 06:05:35 +05:30
Arun fec0479da3
Merge pull request #1230 from N-R-K/nsxiv_support
add nsxiv support to nuke, preview-tabbed and imgview
2021-11-11 06:00:23 +05:30
KlzXS 875a4d8c23
-n exists for a reason 2021-11-10 21:56:51 +01:00
KlzXS a300e3267f
Env variable should be not set, not set to 0 2021-11-10 21:51:05 +01:00
Luuk van Baal 0d657b47b9 Preview-tui workaround for ncurses tput regression 2021-11-10 19:22:41 +01:00
NRK 39a3cc5309 add nsxiv support to nuke, preview-tabbed and imgview
`nuke` and `preview-tabbed` works as expected. I would assume `imgview`
should work as expected as well since `nsxiv` (at the moment at least)
is a drop-in replacement for sxiv, but I haven't tested it.

Closes: https://github.com/jarun/nnn/issues/1229
2021-11-10 22:46:45 +06:00
Luuk van Baal 26f380f154 Proper fix for preview-tui zombie-pane 2021-11-09 14:33:52 +01:00
Arun 1508874b5a
Merge pull request #1224 from KlzXS/nmv_list_current
Updated .nmv to support current when NNN_LIST
2021-11-08 13:34:39 +00:00
KlzXS 22096ee0cd
Updated .nmv to support current when NNN_LIST
NNN_LIST now should pass listroo
2021-11-07 22:08:43 +01:00
Krisan Alifari eff4bd6e67 Fix invisible description 2021-11-07 13:00:06 +07:00
KlzXS eb769c0de5
Resolve symlinks one level for .nmv when in list mode 2021-11-03 08:37:08 +05:30
Terminator X b56e488f1c
Merge pull request #1217 from N-R-K/nuke
nuke: port sxiv-rifle performance improvement over
2021-11-02 10:16:17 +05:30
NRK 5e6c62cd8e nuke: port sxiv-rifle performance improvement over
this commit is mostly porting over some recent performance improvements
from `sxiv-rifle`: https://github.com/ranger/ranger/pull/2411

there's one "bug-fix" in this commit. currently a file named "afilejpeg"
would be matched due to the `-iregex` in listimages. this commit changes
that so only extensions would match, so for example "afile.jpeg" would
match but not "afilejpeg".

As for performance, there's a couple things this commit does:

* store the result of listimages into a tmp file instead of calling that
  function twice, this is probably the biggest performance improvement.
  especially when loading large directories.

* abspath now sets the var abs_target instead of calling printf. since
  abspath is only called from load_dir, we can go one step further and
  inline it. but i haven't done that since the function might be useful
  later on.

* avoid call to dirname and use parameter subsitution instead inside
  `listimages`

* use grep instead of `-iregex`, it's POSIX compliant and can be faster.

i've tested this out with sxiv and everything seems to be working as
expected.
2021-11-02 10:13:45 +06:00