Feat: pressing "u" undoes modification to result buffer regardless of active buffer location

オープン
#271 コメント 0 件 リアクション 2 件 担当者 2 名 GitHub で見る

@esmuellert がすでに取り組んでいます。

2026年9月7日 から。

  • #555 @copilot-swe-agent による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

One point of friction is undoing accept actions in merge mode. The issue is that in order to perform a conflict by conflict action you must be in one of the non-modifiable buffers, after performing an action, it updates the Result buffer, all good so far. The problem is, if I want to undo an action I have to navigate to the result buffer press undo, then navigate back to one of the non-modifiable buffers, making this a bit of a pain.

Proposal:

Option A: make pressing "u" whether in result or not, undo changes to the result buffer; this makes sense given the other two are non-modifiables anyways.

Option B: add a dedicated keymaps for undo actions ("Undo previous diff action").

主要言語
Lua
スター
1.6k
フォーク
104
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

esmuellert/codediff.nvim のほかの issue

esmuellert/codediff.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。