I'm using ubuntu 11.04. I have installed googlecl which claims to allow me to edit google doc files with vim. I have a google doc "test":
google docs edit --title "test" --editor vim
opens the file fine. When I write the file via the vim command :w
the change isn't propagated to the original google doc in the cloud. Also, when I :wq
, I get this command line output:
Server responded with: 412, <errors xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>etagsMismatch</code><internalReason>Mismatch: etags = ["tags"], version = [gqpwmaue]</internalReason></error></errors>
Moved edited document to /home/james/test.txt
How can I automatically update the original doc when I save it in vim?