Sweet! Use Vim with Google Docs…

While there are lots of neat applications for the new Google Command Line tool, this one is my current favorite.

As seen on Lifehacker, using Vim with Google Docs:

google docs edit --title "To-Do List" --editor vim

A close second (from Google’s Examples):

google contacts list name,email > contacts.csv

I hope to soon see something like:

cat ~/message.txt | google mail --to "user@gmail.com" --subject "Awesome!"

or

google voice call 555-5555 --phone "work"
Share
  • Samet Atdağ

    I think latest version of Google CLI doesn’t support email.

    • Geoffrey E James

      Which part of “I hope to soon see something like” that you don’t understand?

  • Vivien Didelot

    Use msmtp for cli mailing ;)
        cat ~/message.txt | msmtp user@gmail.com

  • http://blog.milford.io Nathan Milford

    Hello HackerNews.

    I wrote this about a year and a half ago. I”d have to go back and see if this still works. :/

  • calopsfr

    When will people stop uselessly invoking cat? Please write “< foo bar" instead of "cat foo | bar", the semantic nazi inside of me will feel better.

    • Edo

      Because cat allows keeping a left-to-right data flow, which helps you understand the command more easily, especially for complex ones.

  • Pingback: Google Releases CLI Tools | Deviant Ops

  • http://twitter.com/agumonkey agu.monkey

    Creating then modifying a google-document was a nice experience.
    2012s FTP :p

  • Trinity7

    googlecl is a sweet tool. No changes in the last year, though, so I also use the free syncdocs tool, which handles folder trees, too:

    syncdocs upload folder
    generally:
    syncdocs [open create share upload] [-u user] [doc|sheet|presentation|email|calendar]
     

  • Pingback: Use Vim with Google Docs | Robertodealmeida's Blog