On Jul 12, 10:19 am, yogsototh <[email protected]> wrote:
> 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.
>

To make folding closer to your needs, you could also mess with the
text displayed for folded text.

For example, :set foldtext='' with ":set fillchars+=fold:\ " will
remove all the text in a folded line, so that you just have an empty
line for folded regions. With proper highlighting it will look no
different that a document in a single language, albeit with blank
lines here and there where the other language text is contained.

-- 
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

Reply via email to