nerdtree-ack icon indicating copy to clipboard operation
nerdtree-ack copied to clipboard

could not work in windows

Open AprilKK opened this issue 6 years ago • 2 comments

this plugin cannot work in windows now, per the investigation, the root cause is exec "Ack! -i '".pattern.'" '".cd.'"", the pattern and cd should not surrounded by ' in windows cmd.

AprilKK avatar Dec 16 '19 12:12 AprilKK

Thank you for the report and sorry for the late response. Do you mean it will work on Windows if you change it like this?

-    exec "Ack! '".pattern."' ".cd
+    exec "Ack! ".pattern." ".cd

(edited because my previous diff was wrong)

tyok avatar Jan 08 '20 04:01 tyok

thanks for your response. yes, that works for me. but not sure if mine is a special case.

AprilKK avatar Jan 20 '20 06:01 AprilKK