On May 21, 2:42 pm, Marcin Szamotulski <[email protected]> wrote: > On 13:55 Sat 21 May , Christian Brabandt wrote: > > > > > > > > > > > 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, visithttp://www.vim.org/maillist.php > > Have you tried to use: > 'au FileType qf ... ' ? > > Best, > Marcin
i tried autocommand FileType qf setlocal wrap linebreak and it worked. thanks everyone -- 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
