I recently installed Spacemacs on Windows. The "smart search" command SPC /
does not work. When I press SPC /
I get the error:
Wrong type argument: commandp, helm-do-grep
There seem to be some issue that mention this - https://github.com/syl20bnr/spacemacs/issues/8463
Anyone know what's up?
If my understanding is correct, your spacemacs is not finding ag or grep. Spacemacs uses ag, grep, ack, pt for search. If ag is not found it falls back to grep and so on. Grep, ack are *nix commands. You probably have to install cygwin and add it to the path.
But the best way is to install this port of ag for windows and add it to the path. ag for windows
This isn't a solution, but it is a workaround that I ended up using. I was used to using Spacemacs on Mac. I installed it on windows and encountered the above error. On Windows it was using grep
by default for searching, whereas on Mac it was using ag
.
I installed ag
on Windows that the search is back to working now. I installed ag
following the instructions on here. It uses scoop for the installation which is installed via Powershell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With