Use Vim with Google Docs
blog.milford.io
blog.milford.io
http://code.google.com/p/googlecl/issues/detail?id=301
When this post's site is back up, it will be interesting to see if a) their method is as simple as googlecl and b) if it utilizes googlecl, whether that newline issue has been addressed.
EDIT: ok, saw the google cached version. Still subject to newline issue as far as I can tell.
googlepipe --command get --document $DOC_ID | $SCRIPT | googlepipe --command update --document $OUT_DOC_ID
It's a pretty neat way to work, and being able to revision control all of the input data, scripts and output data is a godsend. File "/Library/Python/2.7/site-packages/googlecl-0.9.13-py2.7.egg/googlecl/docs/client.py", line 55, in DocsClientCL
DOCLIST_FEED_URI = gdata.docs.client.DOCLIST_FEED_URI
This started to look like a rabbit hole so I gave up there.I installed an earlier gdata thusly:
sudo pip install http://gdata-python-client.googlecode.com/files/gdata-2.0.14...
$ gcal Party Today
Event created... I hope to soon see something like:
cat ~/message.txt | google mail --to "user@gmail.com" --subject "Awesome!"
You can do that now: aptitude install sendEmail
alias google-mail='sendEmail -f myaddress@gmail.com \
-s smtp.gmail.com:587 -xu username -xp password'
Then cat ~/message.txt | google-mail -t "user@gmail.com" -u "Awesome!"
Sure, pre-defined command would be nicer, but if you use VIM, I assume this isn't too much for you ;)http://web.archive.org/web/20100815081530/http://blog.milfor...
However, the googlecl seems to be rather old and it doesn't even work for me anymore (probably a compatibility issue with python gdata)