vimwiki-backup / vimwiki

Automatically exported from code.google.com/p/vimwiki
1 stars 1 forks source link

conceal preformatted text. #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Apply "conceal" feature on preformatted text.
e.g.
{{{python
import sys
print(sys.__version__)
}}}

after conceal, in normal mode.
import sys
print(sys.__version__)

but still keep syntax highlight on.

Original issue reported on code.google.com by numbch...@gmail.com on 25 May 2012 at 7:38

GoogleCodeExporter commented 9 years ago
I doubt vim can conceal whole lines.

Original comment by habamax on 25 May 2012 at 11:57

GoogleCodeExporter commented 9 years ago
Indeed, the editor cannot do that kind of concealing.

When it comes to saving screen estate, folding serves that purpose much better. 
It is possible since the revision r741 with 
let g:vimwiki_folding ='expr'
in your .vimrc.

Original comment by tpospi...@gmail.com on 25 Feb 2013 at 2:11