News for hackers. Stuff that matters.
Re:Edit a Google doc with vim by jablan on Monday December 09, 2013 @08:00AM (#6874065)
When I try to open an existing spreadsheet this way, it crashes:

  ~ $ google docs edit --title "skijanje"
  Traceback (most recent call last):
    File "/usr/bin/google", line 849, in <module>
      main()
    File "/usr/bin/google", line 835, in main
      run_once(options, args)
    File "/usr/bin/google", line 627, in run_once
      task.run(client, options, args)
    File "/usr/lib/pymodules/python2.7/googlecl/docs/__init__.py", line 206, in _run_edit
      folder_entry_or_path=folder_entry or options.folder)
    File "/usr/lib/pymodules/python2.7/googlecl/docs/base.py", line 129, in edit_doc
      subprocess.call(command_args)
    File "/usr/lib/python2.7/subprocess.py", line 522, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
      errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory
I guess I was expecting some magic, i.e. a spreadsheet automatically converted to/from CSV or YAML. :)
Re:Edit a Google doc with vim by gibbonsd1 on Monday December 09, 2013 @08:32AM (#6874175)
For me, it displays the XLS file, but it doesn't convert it to anything human readable (Using OS X 10.8 and vi).