Stefan Haller
22512d55a8
Add commandMenu property to custom commands
2025-02-28 10:11:30 +01:00
Stefan Haller
7238e41251
Fix a small mistake in Custom_Command_Keybindings.md
...
It has been 'e' instead of 'o' for quite a while now.
2025-02-28 10:00:59 +01:00
Stefan Haller
3b85307f67
Filter out [dev] comments when generating config doc
2025-02-23 20:55:28 +01:00
Karim Khaleel
30e9bf8a75
Use refs in jsonschema userconfig generator
...
This makes it possible to use recursive structures in the user config.
2025-02-23 20:55:28 +01:00
Stefan Haller
130801dbf6
Add a few missing keybindings to docs/keybindings/Custom_Keybindings.md
2025-02-21 13:20:33 +01:00
Stefan Haller
11616190ee
Add a gui.tabWidth config
...
Affects everything that is shown in the main view, but probably mostly relevant
for diffs.
2025-02-20 09:13:56 +01:00
Stefan Haller
c9196812a2
Add a "Copy to clipboard" menu to the Commit Files panel
...
This is very similar to the same menu in the Files panel, except that it works
on whatever diff is currently shown in the main view, including range diffs
either in diffing mode (shift-W), or from a range selection of commits.
2025-02-19 18:50:12 +01:00
Adrian Gielniewski
e3944c1707
Fix description of showFileTree
...
Change '~' to '`' as it's the correct key.
Signed-off-by: Adrian Gielniewski <adrian.gielniewski@gmail.com>
2025-02-17 20:14:11 +01:00
Chris McDonnell
2fa4ee2cac
feat: Support multiple commit prefixes
...
This implementation, unlike that proposed in https://github.com/jesseduffield/lazygit/pull/4253
keeps the yaml schema easy, and does a migration from the single
elements to a sequence of elements.
2025-02-17 19:58:31 +01:00
Stefan Haller
c02709698c
Update translations from Crowdin
...
This adds a new Portuguese translation.
2025-02-12 08:21:47 +01:00
Bruno Jesus
0397ede8a6
Document copy tag keybinding
...
Add the default keybinding for the "Copy tag to clipboard" function on
the Tags section.
2025-01-27 22:07:08 +00:00
Stefan Haller
4baf008ac7
Expose {{.SelectedCommitRange}} to custom commands
...
It has fields .To and .From (the hashes of the last and the first selected
commits, respectively), and it is useful for creating git commands that act on a
range of commits.
2025-01-27 08:53:50 +01:00
Mauricio Trajano
7bea41534b
Collapse/expand all files in tree
...
Co-authored-by: Stefan Haller <stefan@haller-berlin.de>
2025-01-13 21:13:11 +01:00
Mauricio Trajano
c64a7904b7
Add ability to configure branch color patterns
2025-01-12 13:44:26 +01:00
Jesse Duffield
28d10c26a4
Standardise on 'screen mode' name
...
We had some conflicting names so we're standardising on screen mode
2025-01-11 14:25:48 +11:00
ZeroMask
9790a7e00c
docs: qlarify commit message prefix mechanics
...
Added quote that qlarifies that users should use subgroups instead of regular match when configuring commit message prefixes
2025-01-03 14:22:02 +11:00
Sebastian Mangelsen
bf9f9b6c04
provide section for openLink
...
- this helps to solve issues as in #3052
- provide an example of how to pass it
to a bash script
2025-01-03 14:07:30 +11:00
Nathan Baulch
508cdb40a8
Fix typos
2025-01-03 10:50:36 +11:00
A. Jensen
75311750c8
update documentation to describe use of custom commands without keys specified.
2025-01-02 16:50:26 +11:00
Elias Assaf
69a048c0ff
Update instructions for using OSC52 with tmux
...
Signed-off-by: Elias Assaf <elyas51000@gmail.com>
2025-01-02 15:47:27 +11:00
Jesse Duffield
87b54a4107
Update chinese translation for pull requests
2025-01-02 15:26:42 +11:00
Stefan Haller
15288b7bf4
Add user config to enable line wrapping in the staging view
...
It is enabled by default, because I think it's often helpful, and rarely in the
way. I bet most user won't even notice.
2024-12-23 12:24:09 +01:00
Sergey Kochetkov
93a37cf83e
fix(config): allBranchesLogCmd description typo
2024-12-18 11:42:50 +01:00
johannaschwarz
f455f99705
Add user config gui.showNumstatInFilesView
...
When enabled, it adds "+n -m" after each file in the Files panel to show how
many lines were added and deleted, as with `git diff --numstat` on the command
line.
2024-12-08 12:09:47 +01:00
Harris Greenstein
8da43af924
Add config option to disable tab switching with jump keys
2024-11-09 17:19:14 +11:00
Stefan Haller
0e489bb5cc
Add options for disabling switching to the Files panel after popping or applying a stash
2024-09-15 11:59:59 +02:00
Stefan Haller
f74551e464
Generate keybindings
2024-09-08 15:20:52 +02:00
Dmytro Suvorov
c35743d7ad
Add Zed to docs/Config.md
2024-09-03 19:22:56 +02:00
Stefan Haller
90b8fd242d
Add config git.autoStageResolvedConflicts
2024-09-02 18:12:47 +02:00
Yaroslav Halchenko
4bbfe7b3cc
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
...
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-08-27 18:03:00 +02:00
Stefan Haller
a0c808842b
Add missing closing quote
2024-08-27 10:16:53 +02:00
Stefan Haller
fb81fc6057
Add documentation about delta --hyperlinks
2024-08-24 10:36:01 +02:00
Stefan Haller
73696629d9
Add dev documentation about using UserConfig
2024-08-18 10:24:53 +02:00
Stefan Haller
38b1255119
Add information about per-repo config files to Config.md
2024-08-18 10:24:53 +02:00
Stefan Haller
22f0d9cdd3
Expose SelectedCommit to custom commands, deprecate Selected{Local,Reflog,Sub}Commit
...
SelectedCommit is context-dependent and points to SelectedLocalCommit,
SelectedReflogCommit, or SelectedSubCommit depending on which panel is active.
If none of these panels is active, it returns the selected local commit, which
is probably the most useful default (e.g. when defining custom commands for the
Files panel).
2024-08-17 11:26:31 +02:00
Stefan Haller
dbca9306de
Rename "Custom Command" to "Shell Command"
...
The double use of the term "Custom Command" for both shell commands and
user-configured keybindings was confusing.
2024-08-17 10:56:03 +02:00
Yam Liu
542030f190
Support multiple contexts within one command, add tests, update doc
2024-08-02 11:55:29 +02:00
István Donkó
b9107d5fc8
Support setting the similarity threshold for detecting renames
2024-07-13 14:24:26 +10:00
Martin Kock
be21328c69
Allow cycling between multiple log commands
...
- Introduced a new optional user config command, allBranchesLogCmds
- When pressing 'a' in the Status view, cycle between non-empty, non-identical log commands
- There will always be at least one command to run, since allBranhesLogCmd has a default
- Update documentation & write an integration test
- Update translation string
2024-07-06 22:02:47 +10:00
Elliot Cubit
5959f7bc8e
Allow setting a default name when creating new branches
2024-07-06 21:06:28 +10:00
stk
94a1c27916
Normalize line endings of docs/README.md
...
For some reason this was checked in with CRLF line endings; change it to
just LF, like all other text files.
2024-07-01 08:36:57 +02:00
T.
2335772db6
Make opening git difftool more consistent
...
The default shortcut to open git difftool (ctrl+t) is not available on
the "Local Branches" window. It is available when selecting a commit
from a local branch, a remote branch, or a tag from the "Local Branches"
window.
This is inconsistent since branches or tags are also commits, the
shortcut should also work on them directly.
This commit remedies this inconsistency by allowing the use of the
shortcut directly on a branch or a tag. The shortcut works both in the
"standard" mode and the "diffing" mode.
2024-06-30 10:27:28 +02:00
Noah
232be05785
feat: squash merge
2024-06-30 11:01:03 +10:00
Stefan Haller
bd782f16dd
Provide two config keys for configuring the author length in commits view
...
One is for the normal view, the other for the expanded view.
2024-06-29 11:28:44 +02:00
Stefan Haller
7be82d4713
Revert "Add user config gui.commitAuthorFormat ( #3625 )"
...
This reverts commit 3af545daf7cf6458e8efd324012047ce688f08e6, reversing
changes made to 629b7ba1b8f634c26adad43ffe44ed601d652f0c.
We changed our mind about this and want to provide different options for
achieving the same thing, but with more flexibility.
2024-06-29 11:28:00 +02:00
Stefan Haller
68edfa20b4
Add function os.PasteFromClipboard
...
And a user config to override it with a custom command.
2024-06-26 22:20:54 +02:00
Stefan Haller
db0a1586d9
Highlight inactive selection in bold
...
An inactive selection is one where the view is part of the context stack, but
not the active view. For example, the files view when you enter the staging
panel, or any view when you open a panel.
2024-06-23 14:43:13 +02:00
anikiforov
57f9493770
Add user config gui.commitAuthorFormat
2024-06-15 10:39:50 +04:00
Stefan Haller
ffedd84e92
Add some developer documentation about profiling
2024-06-04 15:37:59 +02:00
Stefan Haller
373b1970ca
Show divergence from base branch in branches list
2024-06-03 13:59:43 +02:00