mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

Autoclose doesn't work #223

Open yefim opened 7 years ago

yefim commented 7 years ago

I just switched from :Ack! to :LAck! because I realized that what I needed was actually to replace the most recently focused split. However, after switching to :LAck!, the quickfix window doesn't close when I open a result. Is there something I'm missing that could fix this? Perhaps setting ack_lhandler will fix it.

ches commented 6 years ago

Hi, sorry for the slow response—auto-closing when opening results isn't default behavior, are you pressing Enter or do you mean you're trying something like the capital O special mapping we add to list windows and that doesn't work?

timfeirg commented 6 years ago

I'm on 36e40f9 and ack.vim will always close the quickfix window no matter what key I press.

I've already let g:ack_autoclose = 1.

jkassismz commented 5 years ago

not working for me.

jkassismz commented 5 years ago

only works when let g:ack_apply_lmappings = 1 or let g:ack_apply_qmappings = 1