Results 1 to 3 of 3
I am curious if there is an alternative to, say, openoffice, that runs completely from a text-based terminal. One that can handle the opendocument format. Does anyone know if any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-08-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 15
text-based office progs
I am curious if there is an alternative to, say, openoffice, that runs completely from a text-based terminal. One that can handle the opendocument format. Does anyone know if any such programs exist?
- 09-10-2009 #2
Found the following posted on a blog called the A Geeks Perspective... u might give it a try and see how it goes.
Opening OpenXML or ODF files with Vim
As I was tired to unzip my test .docx files to see what was inside, I decided to ask the web for a solution. I have been gladly surprised to see that Vim can natively open Zip files and change them. All I had to do is to tell Vim, that the docx, odt, and other OpenXML and ODF extensions are Zip files. Here are the lines I have added to my .vimrc file:
au BufReadCmd *.docx,*.xlsx,*.pptx call zip#Browse(expand("<amatch>"))
au BufReadCmd *.odt,*.ott,*.ods,*.ots,*.odp,*.otp,*.odg,*.otg call zip#Browse(expand("<amatch>"))
Now debugging life will be easier for me, and maybe for you too.
- 10-01-2009 #3


Reply With Quote
