diff options
author | John Ankarström <john@ankarstrom.se> | 2020-11-03 13:24:45 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-11-03 13:24:45 +0100 |
commit | 5d0a841e08e9f032051db52ad2793b77df58fb6d (patch) | |
tree | 2f9dd76ab427d5d8b14ad99b3f82ca7c925b85f1 | |
parent | a5bdc9d5f13600f5d0e4a28321e7618cd51963ae (diff) | |
download | ahk-5d0a841e08e9f032051db52ad2793b77df58fb6d.tar.gz |
add git add --patch hotkey
-rw-r--r-- | tt.programs.explorer.ahk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk index 012f7df..d3b023b 100644 --- a/tt.programs.explorer.ahk +++ b/tt.programs.explorer.ahk @@ -241,6 +241,14 @@ else Run, % "cmd /c cd "qp()" & git add " qip " && git status & pause" return +!+a:: +qip := qip() +if (qip = "") + Run, % "cmd /c cd "qp()" & git add -p . && git status & pause" +else + Run, % "cmd /c cd "qp()" & git add -p " qip " && git status & pause" +return + !f:: qip := qip() if (qip = "") |