From b4e59681549c2bb58d7cc4e7fc0e969e108ac7c7 Mon Sep 17 00:00:00 2001 From: lew Date: Thu, 30 Oct 2025 22:36:12 +0000 Subject: [PATCH] Add .config/lazygit/config.yml --- private_dot_config/lazygit/config.yml | 67 +++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 private_dot_config/lazygit/config.yml diff --git a/private_dot_config/lazygit/config.yml b/private_dot_config/lazygit/config.yml new file mode 100644 index 0000000..88fdcbf --- /dev/null +++ b/private_dot_config/lazygit/config.yml @@ -0,0 +1,67 @@ +customCommands: + - key: "b" + command: "git remote prune {{.SelectedRemote.Name}}" + context: "remotes" + loadingText: "Pruning..." + description: "prune deleted remote branches" + - key: "C" + command: 'git commit -m "{{ .Form.Type }}{{if .Form.Scopes}}({{ .Form.Scopes }}){{end}}{{if eq .Form.Breaking `yes`}}!{{end}}: {{ .Form.Description }}"' + description: "commit with conventional commits" + context: "files" + prompts: + - type: "menu" + title: "Select the type of change you are committing." + key: "Type" + options: + - name: "Feature" + description: "A new feature" + value: "feat" + - name: "Fix" + description: "A bug fix" + value: "fix" + - name: "Documentation" + description: "Documentation only changes" + value: "docs" + - name: "Styles" + description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)" + value: "style" + - name: "Code Refactoring" + description: "A code change that neither fixes a bug nor adds a feature" + value: "refactor" + - name: "Performance Improvements" + description: "A code change that improves performance" + value: "perf" + - name: "Tests" + description: "Adding missing tests or correcting existing tests" + value: "test" + - name: "Builds" + description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)" + value: "build" + - name: "Continuous Integration" + description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)" + value: "ci" + - name: "Chores" + description: "Other changes that don't modify src or test files" + value: "chore" + - name: "Reverts" + description: "Reverts a previous commit" + value: "revert" + - type: "input" + title: "Enter the scope(s) of this change." + key: "Scopes" + - type: "input" + title: "Enter the short description of the change." + key: "Description" + - type: "menu" + title: "Is this a breaking change?" + key: "Breaking" + options: + - name: "No" + description: "This change does not introduce a breaking change." + value: "no" + - name: "Yes" + description: "This change introduces a breaking change." + value: "yes" + - type: "confirm" + title: "Is the commit message correct?" + body: "{{ .Form.Type }}{{if .Form.Scopes}}({{ .Form.Scopes }}){{end}}{{if eq .Form.Breaking `yes`}}!{{end}}: {{ .Form.Description }}"