Implement flags for synchronizing the image list when changing the working directory #792
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add flags to syncrhonize the image file list when changing the working directory:
:scroll left/right --open-selected
for the library as discussed in First image in directory not shown #694 along with the keybindings<ctrl>h/j/k/l
.:open PATH[s] --open-images
for the:open
command to mimic the behaviour, getting closer to Reload image/thumbnail mode when working directory changes #132.I believe this is as close as we will get to the ideas in #132 without going full-on async - which probably won't happen anytime soon (ever? 😢 ) given the time constraints for working on vimiv.
The odd outliers are when the image filelist is not in sync with a directory, e.g., when loading tags or opening images from multiple directories. However, this is not something the library (or opening a directory) would care about and sits on the other end of the spectrum.
Anyone still interested in testing this after such a long time? @mcp292 or @jcjgraf ? 😊
fixes #694 - along with the inconsistency noticed on initial testing ~7 months ago
fixes #132 - as we realistically won't go further into the async realm