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

Aperta
#271 0 commenti 2 reazioni 2 assegnatari Vedi su GitHub

@esmuellert ci sta già lavorando.

Dal 7/9/2026.

  • #555 di @copilot-swe-agent — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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").

Lingua principale
Lua
Stelle
1.6k
Fork
104
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di esmuellert/codediff.nvim

Tutte le issue di esmuellert/codediff.nvim

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.