How to create a very simple bash script in ~/binthat looks like this?
#!/bin/sh
vim -c 'set ft=google_docs' $@
Save it as you ~/bin/google_vimdo chmod +x ~/bin/google_vim. Then create a file:
~/.vim/ftplugin/google_docs.vim
with the necessary settings (for example, set nowrapor something else) and start the editor with
googlecl docs edit --title "Some Document" --editor google_vim
(assuming what ~/binis in your way: if you could not do --editor ~/bin/google_vim)
source
share