unix - vim folding - how to copy unfolded lines -


i copy/delete lines except folded lines , vice-versa. how do that? ok if have use plugin well. but, love have functionality.

:folddoopen y w 

yanks every non-folded line register w. w used append register w.

:folddoopen d 

deletes every non-folded line.

there's of course mirror command, :folddoclose acts on every folded line.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -