Hello, world!

2008-12-20

How to edit xml with vim?

I show you most useful commands below.
cf. How2fold

zo  Open one fold under the cursor.  When a count is given, that
  many folds deep will be opened.  In Visual mode one level of
  folds is opened for all lines in the selected area.


       *zO*
zO  Open all folds under the cursor recursively.  Folds that don't
  contain the cursor line are unchanged.
  In Visual mode it opens all folds that are in the selected
  area, also those that are only partly selected.


       *zc*
zc  Close one fold under the cursor.  When a count is given, that
  many folds deep are closed.  In Visual mode one level of folds
  is closed for all lines in the selected area.
  'foldenable' will be set.


       *zC*
zC  Close all folds under the cursor recursively.  Folds that
  don't contain the cursor line are unchanged.
  In Visual mode it closes all folds that are in the selected
  area, also those that are only partly selected.
  'foldenable' will be set.