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

[Key: ?] Change help menu to backward search in quicklist #248

Open
2 tasks done
PezCoder opened this issue May 25, 2018 · 0 comments
Open
2 tasks done

[Key: ?] Change help menu to backward search in quicklist #248

PezCoder opened this issue May 25, 2018 · 0 comments

Comments

@PezCoder
Copy link

I have:

Description

When I run ack, there are times when i want to search for a particular file or keyword in the search results it provides & I end up searching using / normally but sometimes when i'm quite below or at the end of the opened quickfix list, I without thinking press ? which opens up help.

It would be really useful, if there is a way to disable it & just make it behave like a normal vim's ? to search backwards

My experiments

When i read this in the doc:

To adjust these, see |g:ack_mappings|.

I thought i might be able to simply reset the mapping for ? by doing so:

let g:ack_mappings = { '?': '' }
// but this just closes the menu instead

Later i realised that maybe the behaviour of ? is not configurable when I saw this line:

nnoremap <buffer> <silent> ? :call <SID>QuickHelp()<CR>

Questions

Is there way this can be achieved ?
Or if you think it could be useful can we make this as configuration ? (I would be happy to help.)

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