does anybody know if there is a way to break a line of text that is
too long in QuickFix list. say if the line is longer than 60
characters move the word to the next line. i'm sure there is a way
to do this globally but i need it to be done only in QuickFix list
window.
any help is appreciated
Does just doing :setlocal wrap linebreak or something like that in
the quickfix window work?
i'm not new to vim but i really never got into all the details. is
there a way to set it in _vimrc so i wouldn't have to do it everytime
QuickFix list is open. i would prefer this done only with the QuickFix
list not with the rest of the buffers.
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.
Ben.
--
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