Update Custom_Command_Keybindings.md

This commit is contained in:
Jesse Duffield 2020-11-21 17:35:51 +11:00 committed by GitHub
parent 3e13936e08
commit d02e992265
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
You can add custom command keybindings in your config.yml (accessible by pressing 'o' on the status panel from within lazygit) like so:
```
```yml
customCommands:
- key: '<c-r>'
command: 'hub browse -- "commit/{{.SelectedLocalCommit.Sha}}"'
@ -95,7 +95,7 @@ The permitted option fields are:
If an option has no name the value will be displayed to the user in place of the name, so you're allowed to only include the value like so:
```
```yml
prompts:
- type: 'menu'
title: 'What kind of branch is it?'