spolu / dwm.vim

Tiled Window Management for Vim
http://www.vim.org/scripts/script.php?script_id=4186
700 stars 76 forks source link

Problem with ack.vim #54

Closed rlisowski closed 10 years ago

rlisowski commented 10 years ago

I use [ack.vim](https://github.com/mileszs/ack.vim plugin) it show search result in the quickfix window but with dwm.vim enabled quickfix window appears on the right instead of the bottom of current buffer.

Is there any way to fix that?

spolu commented 10 years ago

Well we have to figure out if there is anyway to detect ack.vim window. Is it tagged? If so you should be able to have a fix based on #50 #51 #52

rlisowski commented 10 years ago

There is buftype == 'quickfix' and filetype == 'qf', but I don't know how use that and I think I didn't explain exactly what my problem is. This is what I expect: image This is what I get with dwm: image

spolu commented 10 years ago

Yep it makes sense. I'll try to find some time to test and find a solution but I'm pretty swamped these days. @FlashKorten or @n4kz may have an opinion on this?

n4kz commented 10 years ago

Actual behaviour is similar to dwm itself. We can modify autocommand to ignore quickfix buffer but first layout update will move it to stack.

n4kz commented 10 years ago

Same problem in #24 and #49 I'm looking for solution but cannot promise anything.

spolu commented 10 years ago

@n4kz that would be awesome! Would be glad to help though I don't have much free cycle these days. Let me know!

rlisowski commented 10 years ago

Works for me.