Thanks, I am not aware of Vim 7.3 new features. Y.
On Jul 9, 2:43 pm, Tony Mechelynck <[email protected]> wrote: > On 09/07/10 14:29, yogsototh wrote: > > > > > Hello everybody, > > > I write a blog in multiple language. > > > Mostly a sample code look like: > > > ----- main representation ----- > > fr: Quelquechose en Fran ais > > en: Something in English > > Something in both French and English > > ------------------------------------------------ > > > and I transform it into two differents files : > > > ----- French representation ----- > > Quelquechose en Fran ais > > Something in both French and English > > ------------------------------------------- > > and > > ----- English representation ----- > > Something in English > > Something in both French and English > > --------------------------------------------- > > > Could you tell me if it is possible to make a Vim plugin that will > > achive the following: > > > When I "choose" a language, I am presented with the representation of > > this language. > > And while editing this representation, it updates the main > > representation. > > > Mainly the plugin should _hide_ some content of the file while the > > file remain editable. > > > For example I thought about using foldings to hide lines beginings by > > 'fr:' for example. > > But it would be great if I also could _hide_ the 'en: ' in the > > begining > > of the line. > > > thanks for your help. > > Y. > > 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. > > See > :help fold.txt > :help 'conceallevel' > :help :syn-arguments > etc., in Vim 7.3 help. > > Best regards, > Tony. > -- > Here I sit, broken-hearted, > All logged in, but work unstarted. > First net.this and net.that, > And a hot buttered bun for net.fat. > > The boss comes by, and I play the game, > Then I turn back to net.flame. > Is there a cure (I need your views), > For someone trapped in net.news? > > I need your help, I say 'tween sobs, > 'Cause I'll soon be listed in net.jobs. -- 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
