Saturday, May 21, 2011

Re: break line that is too line in QuickFix list

Hi Ben!

On Sa, 21 Mai 2011, Ben Schmidt wrote:

> I tried writing some autocommands, but they didn't work, because it
> seems the buffer type isn't set until after autocommands fires. I think,
> then, that you'll probably have to make a custom command to do it, so
> that when you open the quickfix window it sets that option at the same
> time. Maybe something like
>
> :command! Copen copen | setlocal wrap linebreak
>
> Then do :Copen instead of :copen to open the quickfix window and I
> expect it will work.

I think, writing your settings into ~/.vim/ftplugin/qf.vim should also
work.

regards,
Christian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: