The difficult part here is I wanted to modify the file. And also, folding could be good for that. But fold work for at least more than two lines. Therefore, folding don't hide the line begining by 'fr: ' in:
en: Something in English fr: Something in French But I believe it is not possible to tell vim to "ignore" some part of the file by not displaying it at all. And for me it would have been really helpful. For now I use foldings but it is not perfect. thanks, Y. On Jul 11, 9:04 am, H Xu <[email protected]> wrote: > I think this is possible if you don't want the reader to modify your > file. Just create a temp buffer and set the buffer to nomodifiable > then put in what you want to show. > > Best regards, > Xu > > On 7/11/10, Ben Fritz <[email protected]> wrote: > > > > > On Jul 9, 7:43 am, Tony Mechelynck <[email protected]> > > wrote: > > >> In Vim 7.3 (but not 7.2 except by patching the C code) I think you could > >> achieve something by combining the folding feature with the new conceal > >> feature. > > > Does conceal work within the fold text? I didn't think this was the > > case. I'm not whether I want it to, or not. > > > -- > > 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 > > -- 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
