Re: [Vim-latex-devel] sourcing package files under windows
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-02-27 18:31:55
|
Mikolaj Machowski wrote: > I have got report about not sourcing package files > under windows. I found place and this is not working > also for me (under windows, under Linux everything is OK). > > lines from 216-226 packages.vim: > > exec "normal! /\[\<CR>lv/\]\<CR>h\"ay" > let options = @a > else > let options = '' > endif > > " The following statement puts the stuff between the { }'s of a > " \usepackage{stuff,foo} into @a. Do not use matchstr() and the like > " because we can have things split across lines and such. > exec "normal! /{\<CR>lv/}\<CR>h\"ay" > > Solution is to remove h. > But I would like to know if this is working on other machines before > commiting. How about exec "normal! /{\<CR>\"ayi}" instead? Besides being shorter, it works { even here } I think. --Benji |