summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ahk-assistant.ahk1
1 files changed, 1 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index fdf9ba6..24c39eb 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -600,6 +600,7 @@ pasteClipboard() { ; manually paste clipboard, minus most formatting
StringReplace, clipboard, clipboard, ·,, All ; remove middots
StringReplace, clipboard, clipboard, %A_Tab%,, All ; remove tabs
StringReplace, clipboard, clipboard, `r,, All ; remove half of line breaks
+ StringReplace, clipboard, clipboard, /,%A_Space%, All ; forward slashes mess up linux paths
StringReplace, clipboard, clipboard, `n,, All ; remove other half of line breaks
clipboard = %clipboard% ; trim whitespace
SendRaw %clipboard%