From 3b18ae01018baa050514159adf5d10f8f3947df7 Mon Sep 17 00:00:00 2001 From: Mohammed Elwardi Fadeli <34474472+FoamScience@users.noreply.github.com> Date: Sun, 1 Aug 2021 13:42:54 +0100 Subject: [PATCH] Updated Custom Commands Compendium (markdown) --- Custom-Commands-Compendium.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: