danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
786 stars 60 forks source link

The new mail cannot be created by ",c" because of the view file #178

Open marslo opened 10 years ago

marslo commented 10 years ago

I've set the view settings in my vimrc:

autocmd BufWinLeave * silent! mkview
autocmd BufWinEnter * silent! loadview

This settings will save the ~view file to ~/.vim/view folders.

After create new mail by ,c first, there are two(at least 2) temp files would be created (have been uploaded in my github):

The new mail cannot be created anymore until remove these two file.

How can I using vmail and view at the same time? Thanks in advanced.

marslo commented 10 years ago

By the way, this is my system envionment:

┌─ (marslo@MarsloJiao ~) ->
└─ $ vmail --version
Starting vmail 2.9.1
Setting VMAIL_BROWSER to 'gnome-open'
Setting VMAIL_HTML_PART_READER to 'w3m -dump -T text/html -I utf-8 -O utf-8'
Changing working directory to /home/marslo/.vmail/default
vmail 2.9.1
Copyright 2010 Daniel Choi under the MIT license
┌─ (marslo@MarsloJiao ~) ->
└─ $ ruby --version
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
┌─ (marslo@MarsloJiao ~) ->
└─ $ uname -a
Linux MarsloJiao 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux