summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Hertzler <jeffhertzler@gmail.com>2020-12-18 22:26:01 -0500
committerJesse Duffield <jessedduffield@gmail.com>2020-12-23 18:54:26 -0800
commit106fce26b504d875384d5cae08e9e36d66b29337 (patch)
tree7209e0f57faa249a6c7be14b6a2754f32176d756
parentcaf208b0a40df0b3845b8f474ea5d651835d6f26 (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 af803bc5b..5a63e2241 100644
--- a/docs/Custom_Command_Keybindings.md
+++ b/docs/Custom_Command_Keybindings.md
@@ -123,7 +123,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/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 `{{.SelectedBranch.Name}}`. In the future we will likely introduce a tighter interface that exposes a limited set of fields for each model.
### Keybinding collisions