Commit graph

3470 commits

Author SHA1 Message Date
luukvbaal 2e4aca5e6b
preview-tui(-ext) subshell job control (#891)
* subshell job control

* remove unnecessary kill

* Update docs

* update PAGER and tree command

* restore clear
2021-03-20 06:28:46 +05:30
Arun Prakash Jana a88bbe1a9c
Use earlier asciicast in plugins readme. 2021-03-20 06:26:14 +05:30
luukvbaal f596ae2359
Update preview-tui demo 2021-03-19 22:16:38 +01:00
Luuk van Baal 77cde578e0 preview-tui demo 2021-03-19 22:08:10 +01:00
Arun Prakash Jana 4c8e2e25b8
Fix garbled symlink target 2021-03-19 00:27:45 +05:30
Arun Prakash Jana 5f0b3b74d0
Fix #889: clear selection if plugin doesn't send data 2021-03-19 00:00:37 +05:30
Arun Prakash Jana c825a9e541
Fix #893: show symlink target in statusbar 2021-03-18 23:45:32 +05:30
Arun Prakash Jana 381b251fd0
Fix #890: wrong macro 2021-03-18 22:35:59 +05:30
Arun Prakash Jana 317076b893
Update doc 2021-03-18 01:52:13 +05:30
Arun Prakash Jana fddc5086dd
Fix #888: wrong volume free/total size on macOS 2021-03-17 23:37:26 +05:30
Arun Prakash Jana 93ca773c59
Resurrect current/sel prompt 2021-03-17 23:06:08 +05:30
Arun Prakash Jana 2dccb94f3f Revert "Favor selection over current for nmv"
This reverts commit c9c1d0d454.
2021-03-17 22:19:01 +05:30
Arun Prakash Jana 12e7e2c7e0
Revert clear selection on plugin invocation
Many plugins are used for navigating to the target directory.

This reverts commit 026f76f14c.
2021-03-17 02:12:21 +05:30
Mischievous Meerkat 571363b0f9
Merge pull request #883 from salutis/patch-1
Improve clarity and consistency of README.md
2021-03-16 18:11:21 +05:30
Rudolf Adamkovič 02eb42b0ed
Improve clarity and consistency of README.md 2021-03-16 11:34:09 +01:00
Arun Prakash Jana d40137f7b3
Update Haiku makefile 2021-03-16 01:25:14 +05:30
Arun Prakash Jana 234a7e0080
Prepare for release v3.6 2021-03-16 00:52:50 +05:30
Mischievous Meerkat 3c0c5951ee
Merge pull request #877 from luukvbaal/preview-tui
cleanup fifo
2021-03-14 20:10:47 +05:30
Luuk van Baal 7527125487 cleanup fifo 2021-03-14 15:28:50 +01:00
Arun Prakash Jana 519ea8347e
Update docs 2021-03-14 16:23:46 +05:30
Arun Prakash Jana 3cd93a355a
Minor code reformat for clarity 2021-03-14 14:35:19 +05:30
Arun Prakash Jana bd95763c7a
Fix shellcheck report 2021-03-14 12:59:24 +05:30
luukvbaal ac72d2c66e
Fix preview-tui-ext and ueberzug support for preview-tui (#875)
* fix preview-tui-ext

* add ueberzug to preview-tui

* abolish config variables

* kitty
2021-03-14 12:23:03 +05:30
Arun Prakash Jana e8577baab2
Fix #876: fzcd - go to dir and select file 2021-03-14 12:19:40 +05:30
luukvbaal 1571ea2b35
preview-tui improvements (#869)
* Update preview-tui

* trap SIGWINCH

* Update preview-tui

fix CircleCI test

* fix CircleCI...

* add pdf/epub

forgot to add pdf/epub when adpating my own working script to the upstream version

* add USE tests

* add office preview

allows preview of ods, odt, docx, pptx, etc

* remove resize trap, show static gif

Removed the faulty resize code and show static gif when USE_GIFPREVIEW is not set.

* loop gif playback

* refactor imagepreview

* scale kitty preview

* fix ueberzug_remove regression

* add optional atool support

* single depth, colorized tree preview

also empty pager prompt

* atool optional

* window resize working

* USE_UEBERZUG check

* conditional trap

I can't fully explain the behavior I'm seeing but this seems to work as its supposed to.

* adopt TMPDIR

* prevent extra readline after window resize

* shellcheck fix

* clear preview pane after resize

prevents (seemingly random) pager previews from showing after resize

* fix stray fifo from subshells

* add preview-tui-ext
2021-03-13 16:52:51 +05:30
Arun Prakash Jana 3387f0a6ac
Have a distinct unused msg for index 0 2021-03-06 12:20:14 +05:30
Arun Prakash Jana e901615fcc
Add check for non-empty selection buffer 2021-03-04 23:55:41 +05:30
Arun Prakash Jana 8886f1cd56
Fix regression in #864 2021-03-04 19:56:15 +05:30
Arun Prakash Jana c7140e6758
Fix #864 2021-03-04 17:51:57 +05:30
Arun Prakash Jana 822546f285
Update docs 2021-02-28 23:56:10 +05:30
Arun Prakash Jana 07afd45243
Update docs 2021-02-28 00:15:11 +05:30
Mischievous Meerkat 5c47ac651f
Merge pull request #858 from KlzXS/xdgopen
Fix frozen terminal caused by opener
2021-02-19 03:13:25 +05:30
Mischievous Meerkat 4b15535983
Merge pull request #857 from KlzXS/batch_rename
Favor selection over current for nmv
2021-02-18 00:39:00 +05:30
Mischievous Meerkat 916910bd7a
Merge pull request #856 from KlzXS/cpmvrm
Add check for empty selection
2021-02-18 00:36:15 +05:30
KlzXS 8bdd4b2e2a
Use the fix you just implemented 2021-02-17 09:08:12 +00:00
KlzXS 54b7dc4756
Fix frozen terminal
xdg-open would launch a cli program that would contest the terminal for character input
2021-02-16 22:33:09 +00:00
KlzXS c9c1d0d454
Favor selection over current for nmv 2021-02-16 21:46:56 +00:00
KlzXS a27568824e
Add check for empty selection
nop when empty
2021-02-16 21:33:42 +00:00
Arun Prakash Jana 7e307bc2ff
Fix alignment 2021-02-11 21:04:37 +05:30
Mischievous Meerkat e3c994bd36
Merge pull request #852 from 0xACE/badideascfg
state.runctx now retains bitwidth as cfg.curctx
2021-02-11 08:52:00 +05:30
0xACE 67962efbd5 state.runctx now retains bitwidth as cfg.curctx
Didn't test this out, but judging by the name of the variable this
should be a bugfix
2021-02-11 04:11:54 +01:00
Arun Prakash Jana 16de133fea
Retain a way to return to start dir if file opened 2021-02-11 05:26:51 +05:30
Arun Prakash Jana 600286b627
Always prefer selection over current file
If you have selected some files, you intend to work on them. Also, this prompt
expects <kbd>c</kbd> / <kbd>s</kbd> which should cancel the next prompt in the
delete workflow. Rest of the three workflows are non-fatal.

Benefits of removing this option:
- code reduction
- one less step in the relevant workflows (more than one prompt feels dragged)

This prompt shows in the following workflows:
- delete: users have explicitly requested to prefer sel over current
- batch rename: key <kbd>^R</kbd> renames a single file
- archive: in most of the cases the user would want to archive the selection
- create sym/hard link: not a frequently used workflow (in general)
2021-02-10 05:12:40 +05:30
Arun Prakash Jana 026f76f14c
Clear selection after successful plugin invocation 2021-02-10 04:25:08 +05:30
Mischievous Meerkat d07c4907de
Merge pull request #851 from Lucas-Summers/master
adding support for ueberzug into plugins/preview-tui
2021-02-10 03:54:30 +05:30
Lucas Summers 8a12c01da4 fixed shellcheck errors for plugins/preview-tui 2021-02-09 10:32:32 -08:00
Lucas Summers 83232684a8 integrated ueberzug into plugins/preview-tui 2021-02-08 18:16:28 -08:00
Arun Prakash Jana 118657020e
Fix indentation in helpstr 2021-02-08 07:13:16 +05:30
Mischievous Meerkat 4178f62ece
Merge pull request #849 from uvelichitel/master
Correct umount fusefs on FreeBSD. rel. issue  #848
2021-01-31 08:25:05 +05:30
uvelichitel 3776f72af1 Correct umount fusefs on FreeBSD 2021-01-31 00:47:09 +03:00