From 61f91e24649c5c9739d9e77f09e369cc70593f2a Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Wed, 11 May 2022 21:48:05 +0530 Subject: [PATCH] Add new ideas --- TODO.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index e3699c8..97a561f 100644 --- a/TODO.md +++ b/TODO.md @@ -10,10 +10,23 @@ 6. [ ] When running with a lot of files, sxiv may take some time to start. Signal to the user that it is starting, and let them kill it if they want. 7. [ ] `sxiv-exclude-strings` does not work recursively, because only the directories are passed to the process. Adding all files to the path might cause it to fail (bash length limit), or take a long time. * Use find(1) to pass the files? -8. [ ] Make it work in find-dired buffers too +8. [ ] Make it work in `find-dired` buffers too 9. [ ] Bug - sometimes, if a lot of files (usually over 50) are marked in sxiv, the input received by `sxiv-insert-subdirs` is incomplete - the first file name is a trailing segment of an actual existing filename, e.g. if a file is called `"foo/bar_baz.jpg"`, I might get something like `"r_baz.jpg"` as the first element. * I have no idea what's causing this or how to fix it. Help needed! :( 10. [ ] Optimize startup speed, especially with a large number of files. 11. [ ] When using a text file, mark files marked in sxiv. * Maybe using multiple-cursors or iedit? 12. [x] When launching from a text file, open sxiv with the image at point (using `-n`). + +Option menu when starting sxiv - +1. recursive +2. find | sxiv +3. edit file/directory list + +Prompt (hydra/read-multiple-choice) for what to do with selected files - +1. mark in Dired (overwriting previous selection) +2. append to existing Dired marks +3. unmark from existing Dired marks +4. copy as text +5. save in file in sxiv launch directory (default file name in custom variable) +...and other (extensible) actions.