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

Vim with Ack and "Silver searcher" - can not open file from result panel #283

Open
peshoicov opened this issue Nov 21, 2023 · 0 comments
Open

Comments

@peshoicov
Copy link

I am on Windows and use git-bash. I have vim (the default one that comes with git-bash) with several plugins installed via vim-plug.

When I use :Ag ... to search through the files in a project - I get this result panel:

Results panel in Vim + Silver searcher

But no matter what I try - I can't open the file with the result I want.

What should be the correct key shortcut(s) or combination so that I can open the file with the result I want?

This is what I've added in my ~/.vimrc file in order to make :Ag command work:

" Ag/Ack related ..
let g:ackprg = 'ag'
let g:ack_default_options = " --case-sensitive --noheading --nopager --nocolor --nogroup --column"

So probably the issue is related to some of these props?

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

1 participant