git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: feature request, git-gui: add hotkey to toggle amend/new

From
Johannes Sixt <j6t@kdbg.org>
Date
Sep 4, 2019, 18:52 UTC
Message-ID
<8a726eea-f461-db90-7e36-70b708ff8915@kdbg.org>
In-Reply-To
<20190904174103.nrntgwv6zdqyjqsh@yadavpratyush.com>
Am 04.09.19 um 19:46 schrieb Pratyush Yadav:
Show 9 quoted lines
> On 04/09/19 08:24AM, Johannes Sixt wrote:
>> That is worth a try. The check box title offers a natural hotkey then:
>> "_A_mend last commit", Alt-a.
> 
> Right now, the binding proposed is Ctrl-e.  My mental model for the key 
> bindings as of now is having the "actions" bound to Ctrl, and bindings 
> that move you around in the UI bound to Alt.  So it makes more sense to 
> me to have a "amend toggle" bound to Ctrl.  Maybe that's just me though.  
> Anyone else care to chime in?
"Amend last commit" is NOT an action. It switches a state.

It is common in Windows GUIs that every control, including menu items, has a hotkey associated, the underlined letter in the caption, and the hotkey to access that UI control is Alt+that letter. It's not necessarily a matter of moving around.

And, BTW, this hotkey thing is also the case on my Linux desktop (KDE-based).

But of course, git-gui is different and totally off track here. It has *zero* controls marked for hotkey-accessibility. I was just hoping to spark an effort to make some of the controls marked and hotkey-accessible.

-- Hannes
Previous: Birger Skogeng PedersenNext: Bert Wesarg
Message 20 of 27 in “feature request, git-gui: add hotkey to toggle amend/new”
  1. Birger Skogeng PedersenAug 31, 2019
  2. Birger Skogeng PedersenSep 2, 2019
  3. Bert WesargSep 2, 2019
  4. Birger Skogeng PedersenSep 2, 2019
  5. Add hotkey to toggle "Amend Last Commit" radio selectorBirger Skogeng Pedersen, Sep 2, 2019
  6. Bert WesargSep 3, 2019
  7. Bert WesargSep 3, 2019
  8. Bert WesargSep 3, 2019
  9. Bert WesargSep 2, 2019
  10. Bert WesargSep 2, 2019
  11. Birger Skogeng PedersenSep 3, 2019
  12. Pratyush YadavSep 3, 2019
  13. Birger Skogeng PedersenSep 3, 2019
  14. Pratyush YadavSep 3, 2019
  15. DavidSep 3, 2019
  16. Pratyush YadavSep 3, 2019
  17. Johannes SixtSep 4, 2019
  18. Pratyush YadavSep 4, 2019
  19. Birger Skogeng PedersenSep 4, 2019
  20. Johannes SixtSep 4, 2019
  21. Bert WesargSep 4, 2019
  22. David AguilarSep 10, 2019
  23. Birger Skogeng PedersenSep 11, 2019
  24. Pratyush YadavSep 11, 2019
  25. Pratyush YadavSep 11, 2019
  26. DavidSep 3, 2019
  27. Bert WesargSep 3, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.