Skip to content

Bind a (abandon) on the Neovim status buffer #59

Description

@jennings

Part of #57

Goal

Make abandon available on the Neovim status buffer to match VSCode and Emacs.

Current state

  • VSCode magit profile: abadjuju.abandon.cursor on both status and log
  • Emacs: abadjuju-abandon on both status and log
  • Neovim magit profile: aJJAbandon on log only — missing on status

Change

In clients/neovim/lua/badjuju/keymap.lua magit profile, add aJJAbandon to the status.jujutsu buffer keymap.

Docs

  • docs/src/clients/neovim.md — add a to the status keybinding table
  • docs/src/reference/status-buffer.md — confirm Neovim column shows the binding

Tests

  • clients/neovim/tests/keymap_spec.lua — assert a is bound on status.jujutsu

Verification

  • redo fmt && redo check && redo test — all pass
  • Open a .jj repo in Neovim, press a on a commit in the status buffer, confirm it abandons

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2High priorityimplementedDone but not yet landed in main

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions