windows下使用helm-ag

想在windows下使用helm-ag插件 根据helm-ag的文档操作,也下载了sliver-search,使用cygwin安装了,另外也配了cygwin下bin的目录到path中。可以在shell中使用命令"ag"。但helm-ag的 helm-do-ag还是没法使用,patttern:输入3个字符后就报错: Error running timer: (error “In 'Search at 我的目录 source: ‘helm-ag–do-ag-candidate-process’ (file-error “Searching for program” “no such file or directory” “ag”)”)

google没有搜到相关的问题,还望能够指点一下,谢谢

搜来搜去,原来就在本站有答案,同解决。泪奔:joy:

1 个赞

调用M-x helm-do-ag-project-root会出现 Could not find the project root. Create a git, hg, or svn repository there first 请问如何设置project-root

你的项目用 git 版本控制的话,会自动识别为 project