-
Notifications
You must be signed in to change notification settings - Fork 395
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
Option to not auto-open first match #59
Comments
Use it like The bang character added to most commands will prevent the initial term to be jumped to. See #31 |
Excellent, thanks for this tip, exactly what I needed, thanks. On 26 January 2013 19:28, Mislav Marohnić [email protected] wrote:
|
@mislav big ups for that; was driving me nuts! |
+2! |
Thanks - was also driving me nuts! |
Would be sweet if we could make this the default? On 23 August 2013 01:30, shanefulmer [email protected] wrote:
|
Probably won’t happen. You should make a custom command/mapping for yourself to |
I looked into this previously, but couldnt find a way to do it due to the On 23 August 2013 11:55, Mislav Marohnić [email protected] wrote:
|
👍 I started using ack from bash instead because of this. Awesome to know I can switch back now. |
+1 to make this configurable |
Don't auto-open first match in current buffer See mileszs/ack.vim#59
+1 👍 +1 |
+1 |
|
@ejoubaud thanks! |
+1 |
@htatche I don't understand any further +1 on this, there are good solutions above like mappings or an abbreviation (personally I primarily use The default behavior is not going to change, because a.) it would not be backwards-compatible and this is long-existing, and b.) it mirrors the behavior of |
The reason so many complain about this is cause |
@SamSaffron If anyone who finds it maddening would like to work up a pull request to make Then, people will probably complain that "I run
It would be largely a matter of making one function call conditional, aside from the mappings concern… Opening but not focusing the results on |
I would love to fix this, but even If you have this configuration: [split1] When you click on "quickfix result", stuff is always opened in [split2] regardless of [split1] being the window that just had focus. So my vim voodoo feeling here is that vim does not make solving this easy. |
wow ... I never know about QFEnter, this is soooo useful THANKS! |
Pardon the topical diversion for those subscribed to notifications, but I've also been made aware of vim-qf as an alternative, it may offer behavior that suits your taste and might compliment ack.vim without conflict, I haven't gotten around to trying it yet. |
Hi there,
Is it possible to configure Ack.vim so that it does not auto-open the first file which matches the search term?
Cheers,
Alastair
The text was updated successfully, but these errors were encountered: