Merge dev: cursor centering & confirm dialog improvements#316
Merged
esmuellert merged 4 commits intomainfrom Mar 8, 2026
Merged
Merge dev: cursor centering & confirm dialog improvements#316esmuellert merged 4 commits intomainfrom
esmuellert merged 4 commits intomainfrom
Conversation
Points Claude Code to AGENTS.md for conventions and provides first-use symlink commands to discover skills and agents from .github/ in .claude/skills/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace nvim_echo+getcharstr and vim.ui.select with vim.fn.confirm for all discard confirmations, preventing Noice/Snacks from hijacking the prompt into a disappearing notification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add zz after ]c and [c to center the target hunk on screen, matching VSCode behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The #310 change switched discard prompts from vim.ui.select to vim.fn.confirm, but the test still mocked vim.ui.select. Update the mock to return 1 (Discard) from vim.fn.confirm instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Merges the
devbranch intomain, bringing bug fixes and UX improvements.Changes
feat(navigation): Center cursor after hunk navigation (#290)
[c/]c, improving orientation in large files.fix(ui): Consolidate discard prompts to use
vim.fn.confirm(#310)vim.fn.confirm()dialogs across explorer actions and auto-refresh.chore: Add CLAUDE.md with project conventions
Issues Fixed
Closes #290
Closes #310
Diff Stats