diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2024-01-02 14:00:36 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2024-01-28 08:12:01 +1100 |
commit | 7bddf532235cc67d847fd70d8f709b6401737936 (patch) | |
tree | c248ea926268ecd1e844d924fac438c6f1701edd /pkg/constants | |
parent | 0aa6109d4d767cf77d4fb3eeefd0ac477d718ccf (diff) |
Improve keybinding descriptions
This adds a bunch of tooltips to keybindings and updates some keybinding descriptions (i.e. labels).
It's in preparation for displaying more keybindings on-screen (in the bottom right of the screen),
and so due in part to laziness it shortens some descriptions so that we don't need to manage both
a short and long description (for on-screen vs in-menu). Nonetheless I've added a ShortDescription
field for when we do want to have both a short and long description.
You'll notice that some keybindings I deemed unworthy of the options view have longer descriptions,
because I could get away with it.
Diffstat (limited to 'pkg/constants')
-rw-r--r-- | pkg/constants/links.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/constants/links.go b/pkg/constants/links.go index 1fef42b5d..c1335052b 100644 --- a/pkg/constants/links.go +++ b/pkg/constants/links.go @@ -8,6 +8,7 @@ type Docs struct { Undoing string Config string Tutorial string + CustomPatchDemo string } var Links = struct { @@ -31,5 +32,6 @@ var Links = struct { Undoing: "https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md", Config: "https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md", Tutorial: "https://youtu.be/VDXvbHZYeKY", + CustomPatchDemo: "https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches", }, } |