Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to open openoffice.org documents inside vim, especially if it will preserve the formatting?

Ends up looking like:


share|improve this question

2 Answers 2

up vote 4 down vote accepted

I know for .sxw fies you change the file name to .zip, then unzip it then you'll be right to start looking in those files - maybe content.xml or something

share|improve this answer
Fascinating, that actually works! It complains of being malformed following recompilation, but that allows me to edit via vim, brilliant. –  EricR Aug 6 '10 at 4:58

No, I'm afraid not. Vim is a text editor, not a word processor. While Vim "understands" the syntax of a variety of text file formats, it doesn't understand native OpenOffice file formats.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.