summaryrefslogtreecommitdiffstats
path: root/docs/Custom_Command_Keybindings.md
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-06-01 19:14:08 +1000
committerGitHub <noreply@github.com>2022-06-01 19:14:08 +1000
commitf6ce22080760907eeac2ea8d8478df64465648c8 (patch)
tree5b224039c109c4e445d78427fb53d97090afae6d /docs/Custom_Command_Keybindings.md
parent8fd9dea6414a9b35af5b173854f90275229a460a (diff)
Update Custom_Command_Keybindings.md
Diffstat (limited to 'docs/Custom_Command_Keybindings.md')
-rw-r--r--docs/Custom_Command_Keybindings.md17
1 files changed, 3 insertions, 14 deletions
diff --git a/docs/Custom_Command_Keybindings.md b/docs/Custom_Command_Keybindings.md
index bd0fd661d..0b677fa48 100644
--- a/docs/Custom_Command_Keybindings.md
+++ b/docs/Custom_Command_Keybindings.md
@@ -102,20 +102,9 @@ The permitted prompt fields are:
| options | (only applicable to 'menu' prompts) the options to display in the menu | no |
| command | (only applicable to 'menuFromCommand' prompts) the command to run to generate | yes |
| | menu options | |
-| filter | (only applicable to 'menuFromCommand' prompts) the regexp to run specifying | yes |
-| | groups which are going to be kept from the command's output | |
-| valueFormat | (only applicable to 'menuFromCommand' prompts) how to format matched groups from | yes |
-| | the filter to construct a menu item's value (What gets appended to prompt | |
-| | responses when the item is selected). You can use named groups, | |
-| | or `{{ .group_GROUPID }}`. | |
-| | PS: named groups keep first match only | |
-| labelFormat | (only applicable to 'menuFromCommand' prompts) how to format matched groups from | no |
-| | the filter to construct the item's label (What's shown on screen). You can use | |
-| | named groups, or `{{ .group_GROUPID }}`. You can also color each match with | |
-| | `{{ .group_GROUPID | colorname }}` (Color names from | |
-| | [here](https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md)) | |
-| | If `labelFormat` is not specified, `valueFormat` is shown instead. | |
-| | PS: named groups keep first match only | |
+| filter | (only applicable to 'menuFromCommand' prompts) the regexp to run specifying groups which are going to be kept from the command's output | yes |
+| valueFormat | (only applicable to 'menuFromCommand' prompts) how to format matched groups from the filter to construct a menu item's value (What gets appended to prompt responses when the item is selected). You can use named groups, or `{{ .group_GROUPID }}`. PS: named groups keep first match only | yes |
+| labelFormat | (only applicable to 'menuFromCommand' prompts) how to format matched groups from the filter to construct the item's label (What's shown on screen). You can use named groups, or `{{ .group_GROUPID }}`. You can also color each match with `{{ .group_GROUPID \| colorname }}` (Color names from [here](https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md)). If `labelFormat` is not specified, `valueFormat` is shown instead. PS: named groups keep first match only | no |
The permitted option fields are:
| _field_ | _description_ | _required_ |