Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when searching in Vim on Windows 7. #106

Open
SpikerTest opened this issue Jul 24, 2015 · 2 comments
Open

Error when searching in Vim on Windows 7. #106

SpikerTest opened this issue Jul 24, 2015 · 2 comments

Comments

@SpikerTest
Copy link

On Windows 7, I installed ag from chocolatey, and added the path \chocolatey\lib\ag\tools\ into the PATH variable. Then I installed ag.vim plugin for Vim. However, when I try to search inside Vim by typing e.g. :Ag hello, it shows an error, saying that command ag not found, and asking me if silver searcher (ag) is installed and added to PATH. By the way, I can use ag in powershell. Could someone please help me? I just tried to start using Vim on Windows, but the first step has almost frustrated me...

@losingkeys
Copy link
Collaborator

You might need to open a new command prompt for path changes to take affect. So the command works outside of vim?

@SpikerTest
Copy link
Author

The command works outside of vim, such as Windows Powershell. I tried restarting Vim and also Windows, it still cannot work in Vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants