summaryrefslogtreecommitdiff
path: root/mac/.config/lazygit
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/lazygit')
-rw-r--r--mac/.config/lazygit/config.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/mac/.config/lazygit/config.yml b/mac/.config/lazygit/config.yml
new file mode 100644
index 0000000..2620fa6
--- /dev/null
+++ b/mac/.config/lazygit/config.yml
@@ -0,0 +1,15 @@
+customCommands:
+ - key: "<c-a>"
+ context: "global"
+ command: "gh repo view --branch {{.CheckedOutBranch.Name}} --web"
+ description: "Open current branch in browser"
+
+ - key: "<c-p>"
+ context: "global"
+ command: "gh pr view --web"
+ description: "Open current PR in browser"
+
+ - key: "H"
+ context: "remotes"
+ command: "git push {{.SelectedRemote.Name}} {{.CheckedOutBranch.Name}}"
+ description: "Push to home remote"