Results 1 to 3 of 3
Thread: text-based office progs
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2009
text-based office progs
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.