danchoi / vmail

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

Vmail does not start correctly on Linux systems #179

Closed lzap closed 10 years ago

lzap commented 10 years ago

It looks like this is what vmail does during the start:

vim --servername VMAIL:lzap -S /home/lzap/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/vmail-2.9.2/lib/vmail.vim -c '' vmailbuffer

The problem with that is that on Linux systems, vim cannot be compiled with +clientserver option, because this feature uses X11 IPC. It works fine on MacVim because the X11 part was replaced there and ported over to vim. Do authors of this nice project use Mac? ;-)

Workaround: On Linux use "vimx" which is a wrapper that starts gvim in terminal mode.

This project looks good! Trying it out currently on my Fedora 20.

lzap commented 10 years ago

I have an alias vim="gvim -v" which is essentially vim=vimx, but for some reason vmail ignores aliases. Therefore a patch will be needed.

lzap commented 10 years ago

Ah!

export VMAIL_VIM=vimx

This would be sane default for all Linux systems.

lzap commented 10 years ago

By the way, I can confirm Vmail works with Zimbra (IMAP). Looks good.