aboutsummaryrefslogtreecommitdiff
path: root/tt.programs.explorer.ahk
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-03 10:17:36 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-03 10:17:36 +0100
commit9d9616ca52fbaede1dc286f05081f814f8222c94 (patch)
treeb325aa7f292d9e753612bd8bdcd16b02aa798170 /tt.programs.explorer.ahk
parent6f6edaf403c2c75fc4484bbd1e972b8d3b23c820 (diff)
downloadahk-9d9616ca52fbaede1dc286f05081f814f8222c94.tar.gz
make git hotkeys support multiple selected files
Diffstat (limited to 'tt.programs.explorer.ahk')
-rw-r--r--tt.programs.explorer.ahk5
1 files changed, 4 insertions, 1 deletions
diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk
index bf3428a..0779f9a 100644
--- a/tt.programs.explorer.ahk
+++ b/tt.programs.explorer.ahk
@@ -212,7 +212,10 @@ qp()
qip()
{
- return """" Explorer().Document.FocusedItem.path """"
+ r := ""
+ for item in Explorer().Document.SelectedItems
+ r .= """" item.path """ "
+ return r
}
basename(s)