summaryrefslogtreecommitdiff
path: root/ar/.config/lazygit
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/lazygit
init
Diffstat (limited to 'ar/.config/lazygit')
-rw-r--r--ar/.config/lazygit/config.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/ar/.config/lazygit/config.yml b/ar/.config/lazygit/config.yml
new file mode 100644
index 0000000..2620fa6
--- /dev/null
+++ b/ar/.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"