I use my Google Drive mainly for storing notes *.md (Markdown) files. I have some issues editing theses files with Vim. With no ~/.vimrc file (no custom configuration), the file takes a lot of time to be opened with vim, then triggers the following error on close:
I think this is because Vim is not able to create the swap file. Now if i put set noswapfile into a ~/.vimrc file to disable swap file creation, Vim triggers the following error on file opening, leaving the editor with a blank page (file is not opened at all):
E200: *ReadPre autocommands made the file unreadable
I'm using Vim 7.4 on Ubuntu 16.04.