summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-27 11:29:10 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-27 11:32:54 +1000
commitde482262e12e989f3d4bede2057d2f0f2402e0ae (patch)
treeb58489beb5440ca30fbcd82879ddfd20da22bdd3 /docs
parent1b39c829accab89a1efe0b900de083e9f127222d (diff)
support setting description in custom command
Diffstat (limited to 'docs')
-rw-r--r--docs/Custom_Command_Keybindings.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/Custom_Command_Keybindings.md b/docs/Custom_Command_Keybindings.md
index 1c7ff1292..46b799e07 100644
--- a/docs/Custom_Command_Keybindings.md
+++ b/docs/Custom_Command_Keybindings.md
@@ -10,6 +10,7 @@ customCommands:
- key: 'a'
command: "git {{if .SelectedFile.HasUnstagedChanges}} add {{else}} reset {{end}} {{.SelectedFile.Name}}"
context: 'files'
+ description: 'toggle file staged'
- key: 'C'
command: "git commit"
context: 'global'
@@ -53,6 +54,7 @@ For a given custom command, here are the allowed fields:
| subprocess | whether you want the command to run in a subprocess (necessary if you want to view the output of the command or provide user input) | no |
| prompts | a list of prompts that will request user input before running the final command | no |
| loadingText | text to display while waiting for command to finish | no |
+| description | text to display in the keybindings menu that appears when you press 'x' | no |
### Contexts