mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
Update Custom_Command_Keybindings.md
This commit is contained in:
parent
3e13936e08
commit
d02e992265
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
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:
|
customCommands:
|
||||||
- key: '<c-r>'
|
- key: '<c-r>'
|
||||||
command: 'hub browse -- "commit/{{.SelectedLocalCommit.Sha}}"'
|
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:
|
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:
|
prompts:
|
||||||
- type: 'menu'
|
- type: 'menu'
|
||||||
title: 'What kind of branch is it?'
|
title: 'What kind of branch is it?'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue