lazygit/pkg
Stefan Haller 2b22ad1651 Add an alternate keybinding (default <c-s>) for ConfirmInEditor
The default binding for ConfirmInEditor is <a-enter>, which has two problems:
- some terminal emulators don't support it, including the default terminal on
  Mac (Terminal.app)
- on Windows it is bound to toggling full-screen

Ideally we would use <c-enter> instead (and Command-Enter on Mac), but neither
is possible without https://github.com/gdamore/tcell/issues/671, so for the time
being add an alternate keybinding which works everywhere.

Show both bindings in the footer of the commit description panel if they are
both non-null. While we're at it, fix the footer for the case where either or
both of the keybindings are set to <disabled>.

And finally, change "commit" to "submit" in that footer; we use the same panel
also for creating tags, in which case "commit" is not quite right.
2025-05-03 17:37:10 +02:00
..
app Make Commit.Hash a getter for an unexported hash field 2025-04-29 14:57:15 +02:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands Store fromHash/toHash in Pipe struct as pointers 2025-04-29 14:57:15 +02:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Add an alternate keybinding (default <c-s>) for ConfirmInEditor 2025-05-03 17:37:10 +02:00
constants
env
fakes
gui Add an alternate keybinding (default <c-s>) for ConfirmInEditor 2025-05-03 17:37:10 +02:00
i18n Add an alternate keybinding (default <c-s>) for ConfirmInEditor 2025-05-03 17:37:10 +02:00
integration Remove space after rebase todo 2025-04-29 11:30:37 +02:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs
snake
tasks Fix race condition when starting several command tasks in quick succession 2025-04-27 10:48:43 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Store TextStyle in Pipe struct as pointer 2025-04-29 14:57:15 +02:00