Skip to content

FR: bind N (new Note commit) to jj new --no-edit -A @ #278

@gcr

Description

@gcr

Is your feature request related to a problem? Please describe.
i use empty commits as TODO notes for the next task to take, but it's hard making new commits inline. sometimes i go to the command line and say jj new --no-edit -A @ to get a batch of a few of them, then i hop back into jjui to edit.

Image

such disorganization may be my load-bearing coping mechanism, but it's mine! isn't it beautiful, in its own haunting "oh god why would anyone do it like that" beauty? bear witness to my ADHD and tremble, o ye git mortals!

Describe the solution you'd like
it would be nicer if, in one keybind like N (currently unused), I can get a new commit going and instantly start typing a description for it.

think of it like one of those sticky notes apps where capturing a new idea is just a ⌘<Space> away.

  • the mnemonic: N for new Note commit!

Describe alternatives you've considered
the command i want is equivalent to nrJa⏎⏎, but that's six keystrokes!

  • n to make a new commit;
  • rJa to rebase the new commit -After its parent, then to accept the rebase;
  • another to start an inline describe session

my poor dopamine brain can't take that

unfortunately this also moves @ to the new commit, which usually isn't what I want

Why current features fail to cover this request
no no, they do, almost...

[custom_commands."new note commit"]
key = ["N"]
args = ["new", "--no-edit", "-A", "$change_id"]

i just like this way of working and think it could make a great default for the coveted N key!

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions