Conversation
Up/Down history recall edited the buffer inside an expr mapping, which Vim forbids (E565: Not allowed to change text). Schedule the swap with vim.schedule so it runs outside expr evaluation.
Add a session log that records every prompt and its per-file hunk
outcomes, surfaced in an interactive sidebar (:JumpySidebar / <leader>s):
jump to, accept/reject, and reprompt hunks from one panel. Position and
width are configurable so it can sit opposite a file tree.
Sessions are saved per project root under stdpath("data")/jumpy/sessions
(debounced writes + VimLeavePre flush) and reopened read-only via
:JumpySessions.
- session.lua: prompt/result log, supersede-on-new-proposal, status counts
- persist.lua: JSON save/load/list, bufnr stripped, per-root isolation
- navigate/prompt: record outcomes; add navigate.jump_to_hunk
- tests: session + persist specs
- docs: condense README, move contributing guide to CONTRIBUTING.md
Both surfaced while testing the session sidebar end to end:
- loading: collapse newlines before rendering the single-line float, so
multi-line error messages no longer crash nvim_buf_set_lines
("replacement string item contains newlines")
- llm: pass a `--` end-of-options separator before the Claude Code prompt
so multi-file payloads (which begin with "--- FILE: ...") are not parsed
as CLI options ("unknown option --- FILE: ...")
Multi-file payloads listed all tagged files without indicating which buffer the request came from, so relative references like "in this file" had no referent and the model defaulted to whichever file was named explicitly. Add a "current file" hint line naming primary_path before the instruction, leaving the FILE headers verbatim so SEARCH paths still match during patch application.
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.
Up/Down history recall edited the buffer inside an expr mapping, which Vim forbids (E565: Not allowed to change text). Schedule the swap with vim.schedule so it runs outside expr evaluation.
[WIP]