summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Di Palma <1597820+briandipalma@users.noreply.github.com>2022-04-19 12:17:06 +0100
committerGitHub <noreply@github.com>2022-04-19 12:17:06 +0100
commita5d4eccfa6ac047cf82688b55afd76e6d11d7b69 (patch)
treeaa6252da1ea5342d3d9563f9fde53a65455ff8e4
parent8b103b16bd3a06d0e661e507832459fae7ec1198 (diff)
Update Custom_Command_Keybindings.md
-rw-r--r--docs/Custom_Command_Keybindings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Custom_Command_Keybindings.md b/docs/Custom_Command_Keybindings.md
index 1dd27fef3..bd0fd661d 100644
--- a/docs/Custom_Command_Keybindings.md
+++ b/docs/Custom_Command_Keybindings.md
@@ -154,7 +154,7 @@ SelectedCommitFile
CheckedOutBranch
```
-To see what fields are available on e.g. the `SelectedFile`, see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/commands/models/file.go) (all the modelling lives in the same directory). Note that the custom commands feature does not guarantee backwards compatibility (until we hit lazygit version 1.0 of course) which means a field you're accessing on an object may no longer be available from one release to the next. Typically however, all you'll need is `{{.SelectedFile.Name}}`, `{{.SelectedLocalCommit.Sha}}` and `{{.SelectedBranch.Name}}`. In the future we will likely introduce a tighter interface that exposes a limited set of fields for each model.
+To see what fields are available on e.g. the `SelectedFile`, see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/commands/models/file.go) (all the modelling lives in the same directory). Note that the custom commands feature does not guarantee backwards compatibility (until we hit lazygit version 1.0 of course) which means a field you're accessing on an object may no longer be available from one release to the next. Typically however, all you'll need is `{{.SelectedFile.Name}}`, `{{.SelectedLocalCommit.Sha}}` and `{{.SelectedLocalBranch.Name}}`. In the future we will likely introduce a tighter interface that exposes a limited set of fields for each model.
### Keybinding collisions