-
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
Keyboard shortcuts don't work for me #197
Comments
Hi, I'm not immediately sure why you're having trouble with the shortcuts, it's hard to surmise without minimizing your config like not loading other plugins to rule out conflicts. But first, can you confirm:
These are known shortcomings and you can find my advice on #170. |
Is that the default behaviour? Thanks for the help and for the interesting link. |
No, the default behavior with ack.vim loaded should be that the quickfix list is focused automatically after invoking the search, and the plugin's quickfix key bindings should be working as you expect in that window. I don't use Vundle so it's a bit too much work for me to try to reproduce your exact setup, I would suggest disabling as many other plugins as possible to try to deduce where a problem is coming in. I don't believe I've heard of anyone having an issue with the bindings not working at all like in your case, I'm inclined to assume it isn't a bug in ack.vim. If you do figure out the cause, let us know, maybe there is something we can do to avoid a conflict or find what is responsible in another plugin. |
That sounds fair. Thank you for the help so far, going to provide more info soon! |
any update on this? - just experiencing the same and looking for hints so that in don't have to check everything :) |
@robinfehr sorry I have disappeared, have been much more busy than I planned! I am happy to give it a look in the weekend and post here, I am glad to know I am not the only one experiencing the same behaviour. |
I have just tried the plugin in a clean installation (only vim and the plugin, in the I am sorry it took me so long.
UPDATE: brought my configuration back to work and the plugin shortcuts are broken again :( So it is definitely something in my configuration. |
For who has got the same problem: could you please paste a link to your Thank you. |
@lzzluca @danielgatis So I see jistr/vim-nerdtree-tabs and mhinz/vim-startify in common between the two of you—I'd be curious to know if disabling those one at a time reveals a culprit. (Well, a few others too like airline and ctrlp, but I use those myself so I'm not too suspicious of them). |
@ches Just removed every NERDTree plugin (both @danielgatis can you please confirm is the same for you? UPDATE: I was missing to list one plugin in this comment; posted the diff in the next comment, sorry for the confusion. |
This is the output of diff --git a/.vimrc b/.vimrc
index 78ed75c..63d0efe 100644
--- a/.vimrc
+++ b/.vimrc
@@ -302,13 +302,6 @@ Bundle 'gmarik/vundle'
" handy screen at the vim startup
Bundle 'mhinz/vim-startify'
-" file browser
-Bundle 'scrooloose/nerdtree'
-" makes NerdTree work with tabs
-Bundle 'jistr/vim-nerdtree-tabs'
-" NERDTree highlight + icon (by vim-devicons)
-Bundle 'tiagofumo/vim-nerdtree-syntax-highlight'
-
" fancy bottom bar
Bundle 'bling/vim-airline' |
I am having the same problem here. I have disabled NerdTree but it is still not working as expected. I also use Plug for installing the plugins. Herewith my vim dotfiles. And here is the ack config part. Thanks. |
removing |
@vonpupp can you post your .vimrc? Would be nice to know what, inside |
Thank you @lzzluca. My config is not straight forward; I split it into different files. Please check the hyperlinks on my first comment and you will find my dotfiles. I don't use |
I had this same issue, but removing Can anyone corroborate that not using Dispatch worked for them? @lzzluca, @vonpupp, have you set |
@RiderSargent can't find that variable in my |
I experienced similar issue but it was just my mistake. |
@lzzluca, can you disable all your plugins other than Ack.vim and see if you still have the issue? If not, I recommend re-enabling a few plugins at a time and see if you can't narrow down which is causing the issue. If so, then it's not a conflict with another plugin, so maybe try a blank .vimrc and install Ack.vim on top of that. Basically, just try to narrow it down as to what is causing the conflict. |
@RiderSargent For me, disabling |
Not at all, glad it's sorted! |
So, mappings don't work if Edit: actually... with that option removed the mappings still don't work for me. |
I had defined Seems like there is a bug with the g:ack_qhandler option. |
@thallada: you need to add I don't know why but when you define g:ack_qhandler the mapping is not defined: |
Hi!
For some reasons that I cannot understand, the keyboard shortcuts don't work at all for me, in the quicklist window.
I can press any key on the result list but nothing happen (no file gets opened).
I have no variable set up in my .vimrc: am I missing something?
Opening the plugin and checking the vars defined in there, doesn't feel like I am missing configurations, I can the default mappings defined as:
(file .vim/bundle/ack.vim/plugin/ack.vim)
my .vimrc: https://github.com/lzzluca/vim/blob/master/.vimrc
Any idea will be appreciated!
Thank you
The text was updated successfully, but these errors were encountered: