From 9647ff7201bfff74e3fbf09f1361f5b9c9e0b41e Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 30 Apr 2026 17:01:38 +0200 Subject: [PATCH] lazygit: add opencode commit command --- lazygit/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lazygit/config.yml b/lazygit/config.yml index bafcc1f..1176994 100644 --- a/lazygit/config.yml +++ b/lazygit/config.yml @@ -36,3 +36,10 @@ git: branchLogCmd: 'git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium --oneline {{branchName}} --' allBranchesLogCmds: - git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium --oneline +customCommands: + - key: + description: "AI: Commit staged changes" + command: opencode run --command commit + loadingText: 'Committing changes ...' + output: log + context: files