Do I need to collaborate on Google Docs in real time with VIM?

I want to use VIM keyboard commands to edit a Google Doc. Preferably, I would like to use my .vimrc file and have changes that I work out in real time (or at least when saving). I want to do this for technical coding interviews.

So far, I have been trying to use GoogleCL, which only pushes / receives changes when exiting VIM (which is too slow). And I tried the Vimium Chrome plugin, but it seems to be just for navigation, not text editing. However, I can ignore the function of one of them.

I use OSX and Chrome, Safari or Firefox.

+3
source share
1 answer

You can:

  • sync your google docs and then edit normally
  • use vim-anywhere plugin
  • use googlecl inside au FileWrite
  • use some library to quickly create your own thing, for example google-drive-ruby (see a short example on your page).

To interact and see real-time changes, you could, for example, use the Ruby library to load / dowload changes from time to time. If you always overwrite your original file, even when you edit it, you can change the external changes to see what other users have done.

+1
source

All Articles