diff --git a/Custom-Commands-Compendium.md b/Custom-Commands-Compendium.md index 2f072d7..23bbc2a 100644 --- a/Custom-Commands-Compendium.md +++ b/Custom-Commands-Compendium.md @@ -100,7 +100,7 @@ customCommands: ```yml customCommands: - - key : 's' + - key : '' # Out of sane keybindings in commits context :( description: 'Search the whole history (From a ref and down) for an expression in a file' command: "git checkout {{index .PromptResponses 3}}" context: 'commits' @@ -115,7 +115,7 @@ customCommands: - type: 'menuFromCommand' title: 'Commits:' command: "git log --oneline {{index .PromptResponses 2}} -S'{{index .PromptResponses 0}}' --all -- {{index .PromptResponses 1}}" - filter: '(?P[0-9a-zA-Z]+) .*' + filter: '(?P[0-9a-zA-Z]+) .*' # or just '(?P.*)' to catch commit descriptions too format: '{{ .commit_id }}' ``` Example Usage on lazygit repo: