summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-11-21 17:35:51 +1100
committerGitHub <noreply@github.com>2020-11-21 17:35:51 +1100
commitd02e99226542ae37f012867ff04cc19167e478f8 (patch)
tree0a146ea6da7be7905cde38cf882e8a357bb4787e /docs
parent3e13936e08c5bb97fb96e68ca27b1e9739c16a50 (diff)
Update Custom_Command_Keybindings.md
Diffstat (limited to 'docs')
-rw-r--r--docs/Custom_Command_Keybindings.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Custom_Command_Keybindings.md b/docs/Custom_Command_Keybindings.md
index 46b799e07..af803bc5b 100644
--- a/docs/Custom_Command_Keybindings.md
+++ b/docs/Custom_Command_Keybindings.md
@@ -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?'