TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Use Vim with Google Docs

104 点作者 jsalinas大约 13 年前

11 条评论

Adaptive大约 13 年前
I've been using googlecl for quite a while to edit google docs in vim, but there are bugs/issues, specifically ongoing issues with newlines:<p><a href="http://code.google.com/p/googlecl/issues/detail?id=301" rel="nofollow">http://code.google.com/p/googlecl/issues/detail?id=301</a><p>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.<p>EDIT: ok, saw the google cached version. Still subject to newline issue as far as I can tell.
slurgfest大约 13 年前
There already exists a great sort of generic API for working with data, it is called a filesystem... expose Google docs as a filesystem rather than making me type special overly-long commands
评论 #3775008 未加载
hirenj大约 13 年前
I hacked together a pipe tool for Google spreadsheets a few weeks ago. I need to get data from spreadsheets from other people, and then spit them back again. I wrote the pipe tool so that I can go<p><pre><code> googlepipe --command get --document $DOC_ID | $SCRIPT | googlepipe --command update --document $OUT_DOC_ID </code></pre> 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.
eric-hu大约 13 年前
For anyone wanting to try this on OS X Lion, I believe you have to install googlecl with Python gdata 2.0.14 [1] or you'll see something like the following after running "google docs &#60;cmd&#62;"<p><pre><code> 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 </code></pre> This started to look like a rabbit hole so I gave up there.<p>[1] <a href="http://code.google.com/p/googlecl/issues/detail?id=468" rel="nofollow">http://code.google.com/p/googlecl/issues/detail?id=468</a>
评论 #3774282 未加载
christiangenco大约 13 年前
Here's my shortcut for adding things to google calendar (something I do about twenty times a day): <a href="https://gist.github.com/2240229" rel="nofollow">https://gist.github.com/2240229</a><p><pre><code> $ gcal Party Today Event created...</code></pre>
vivekjishtu大约 13 年前
Its returning a 404 here is the content from Google Cache <a href="http://webcache.googleusercontent.com/search?q=cache:blog.milford.io/2010/06/sweet-use-vim-with-google-docs/" rel="nofollow">http://webcache.googleusercontent.com/search?q=cache:blog.mi...</a>
icebraining大约 13 年前
<p><pre><code> I hope to soon see something like: cat ~/message.txt | google mail --to "user@gmail.com" --subject "Awesome!" </code></pre> You can do that now:<p><pre><code> aptitude install sendEmail alias google-mail='sendEmail -f myaddress@gmail.com \ -s smtp.gmail.com:587 -xu username -xp password' </code></pre> Then<p><pre><code> cat ~/message.txt | google-mail -t "user@gmail.com" -u "Awesome!" </code></pre> Sure, pre-defined command would be nicer, but if you use VIM, I assume this isn't too much for you ;)
darxius大约 13 年前
Website is 404'ing. Wayback machine saved this back in August:<p><a href="http://web.archive.org/web/20100815081530/http://blog.milford.io/2010/06/sweet-use-vim-with-google-docs/" rel="nofollow">http://web.archive.org/web/20100815081530/http://blog.milfor...</a>
oellegaard大约 13 年前
I managed to have a look at it just before it went down (closed due to too much trafic?)<p>However, the googlecl seems to be rather old and it doesn't even work for me anymore (probably a compatibility issue with python gdata)
nmilford大约 13 年前
Sorry about the 404s, switching to a different caching plugin :P
jff大约 13 年前
Works fine out of the box on Plan 9, too. Pretty slick!