Repository navigation
docs: Clarify setup reload, persistence, stack view and marks behavior - #55
Merged
Merged
Conversation
The docs said a second setup() call re-registers the user commands, but they are created once and reused, reading the config each time they run. The reload section now says which parts are rebuilt for the new config and that the commands always use the latest settings.
A restore only warned with the number of skipped items, so there was no way to tell which entries failed or why, and an entry whose file had been deleted came back as an empty popup. Missing files are now skipped, the warning lists each skipped file with its reason, and the PeekstackRestore event carries the same list as `skipped`.
The persist docs did not say which stack a session holds, that restoring adds to the current stack, or that storage is kept per repository or worktree as seen from the window's cwd. They now also cover saving an empty stack, the synchronous save on leave, unreadable storage, and the list of skipped items reported on restore.
It was unclear that the stack view closes whenever focus leaves it, so <CR> on an entry also closes the panel, and that z zooms the top popup rather than the selected one. The panel is now described as read-only, and the buffer mode docs say what happens to edits in copy and source popups on save, close, history, sessions and promote.
The marks options did not say that the default include only covers letters, that numbered marks must be added to include, or that special marks need both include_special and their character in include. The docs now spell this out with an example, and a test locks down that include_special alone does not add special marks.
mhiro2
force-pushed
the
docs/clarify-setup-persist-and-panels
branch
from
October 5, 2026 12:42
9f2c659 to
61efe4a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Changes
PeekstackRestorecarries every skipped item asskipped<CR>closes it),zzooms the top popup rather than the selected entry, and the panel is read-onlyinclude, and special marks need bothinclude_specialand their character inincludeinclude_specialalone does not add special marks