Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows 7 64 位和 VIM74(32 位)上使用 ack.vim,但我无法在快速修复窗口中获得搜索结果
这就是我的 SHELL 窗口在下面的显示方式:
C:\WINDOWS\system32\cmd.exe /c (ack.pl -H --nocolor --nogroup --column Flash_Locked ^>C:\Users\edward\AppData\Local\Temp\VIeC84A.tmp 2^>^&1)
任何人都可以帮助我。谢谢。
这可能是因为它试图直接调用ack.pl,这仅在您告诉 Windows 将.pl文件扩展名与 Perl 解释器关联时才有效。
ack.pl
.pl
但是,显式指定 Perl 解释器更加健壮:调用应该看起来像:(... cmd.exe /c (perl ack.pl ...假设perl可以通过 获得PATH)。
... cmd.exe /c (perl ack.pl ...
perl
PATH