8 ms·
Vmail - A Gmail client in Vim
- stevefink 16y agoOne awesome thing about this is a lot of the time when the web frontend to Gmail is down, POP3/IMAP remain accessible - so vmail would be a great drop in there. (As would a myriad of other MUAs). As a vim zealot myself, I salute you for this commendable idea.
- stevelosh 16y agoI just posted the link -- I didn't write the plugin. :) On the topic of Gmail downtime: Vmail's method (use IMAP) isn't quite as robust as, say, Mutt + offlineimap, but it's a hell of a lot easier to configure.
- sigzero 16y agoI like Vim...do I like it that much? Hmmmmmm
- kosvke 16y agoI was just thinking the same thing.
- faboo 16y agoFor quite some time while I was in college, I read mail through a Vim plugin that I wrote for the purpose. I like Vim that much. However, I can't imagine using Vim to access Gmail for daily use, because Gmail actually does email _well_ (unlike just about every other email client I've used).
- anemitz 16y agoI can't express how awesome this is...I was literally thinking about how great it would be to gmail in vim the other day. rad++
- timepilot 16y agopure awesomeness! :)
- chuhnk 16y agomutt + imap + gmail = awesome. There is just something about a simple plain text email interface with the power of an editor that makes life so much easier.
- bostonvaulter2 16y agoDoes that setup handle gmail's concept of labeling? Such as archiving messages?
- tvon 16y agoAs I understand it, IMAP is bolted on to gmail so labeling is never quite right in any client.
- deleted 16y ago[deleted]
- koenigdavidmj 16y agohttp://mail.google.com/support/bin/answer.py?answer=77657 http://mail.google.com/support/bin/answer.py?answer=77657 is a nifty little chart showing how to accomplish Gmail actions from within the IMAP client of your choice. If you delete a message from the inbox, then it gets archived. If you move it to [Gmail]/Spam or [Gmail]/Trash and then delete it, then it will really delete it.
- abhiyerra 16y agoI was recently figuring this out. Here is my config: http://bit.ly/fRpcs7 http://bit.ly/fRpcs7
- rue 16y agoTangentially, http://sup.rubyforge.org http://sup.rubyforge.org implements a GMail-like interface, full-text search and such but works with (essentially) any source.
- badwetter 16y agoOf course that should be mutt + gmail. One doesn't need to use an IMAP app, mutt has this built in now. It's pretty good.
- obiterdictum 16y agoYou've accidentally got emacs in my vim.
- ptn 16y agoContacts autocompletion - cool. The lack of this feature is what kept me away from text-only email clients.
- mitchdev 16y agoAs much as I love using MacVim for programming and text editing, I personally would rather keep Gmail in Safari or Mailplane.app.
- adestefan 16y agojwz's prophecy comes true once again.
- msbmsb 16y agoI can't upvote this enough.
- preek 16y agoI'm still a heavy mutt user. But I have to acknowledge, that being able to use Google Search and Google Contacts is a nice to have. Though I can live without search - mutt is awesome here, too. Having contacts in sync, though - is really nice. I will take the high road and write a sync script here, soon. Anyone interested in collaborating in a soon to come github repo for it?
- younata 16y agoI like mutt a lot. The keybindings are awesome. I like that it comes with native gpg support. That said, I like (and use) Apple Mail a lot. The gpg plugin is what makes mail.app usable for me. I do not ever send non-pgp-signed email.
- Adaptive 16y agoI use goobook for contact sync to mutt. Works a treat.
- beagledude 16y agois this the hacker target the guy earlier in the week was talking about? put in your gmail creds, they get swiped up and you lose your gmail account? This would be the exact thing that would get lots of hacker news accts :)
- TheBurningOr 16y agoDon't you have this problem with any 3rd party email client that doesn't use OAuth? With bigger projects it's going to be pretty improbable that a malicious commit will get pushed to the trunk, but still, with small projects and hacks like this it's always a possibility.
- beagledude 16y agoI was more talking about someone posting a thread on HN earlier in the week that said someone was going to post something to fuck with HN users to get their personal info.
- st3fan 16y ago"Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can." Jamie Zawinski, Jargon file entry
- chrstphrwrght 16y agoI'll switch when it can convert image attachments to ascii inline, I don't want to open a separate program to look at all those adorable pictures of kittens in my inbox.
- stevelosh 16y agoIf you use Mutt on OS X, you can. Download Apple's ASCIIMoviePlayer[1] and put the binary from the zip file in your path. Add the following line to your .mailcap: image/jpeg; ASCIIMoviePlayer %s && read WAIT Select an attachment in Mutt and hit return. Enjoy kittens. Of course, since it's ASCIIMoviePlayer it will also play videos if you add the appropriate lines to your .mailcap. EDIT: Oh, and make sure your terminal is at least 180 characters wide. There doesn't seem to be a way to make ASCIIMoviePlayer output a smaller size. [1]: http://developer.apple.com/library/mac/#samplecode/ASCIIMoviePlayerSample/Introduction/Intro.html http://developer.apple.com/library/mac/#samplecode/ASCIIMovi...
- tlack 16y agoIf anyone is wondering how it works: the vim script (vmail.vim) sets up a series of buffers. It uses regular Unix shell commands to vmail_client to populate them and interact with mail, such as flagging messages. vmail_client is some Ruby code that communicates with the Ruby vmail server process using DRb. The vmail server does the heavy lifting of interacting with gmail itself.
- deleted 16y ago[deleted]
- badwetter 16y agoMeh One can do this already with mutt using IMAP directly with Gmail using vim as the composer.
- marksoper 16y agoDon't use vim, but the stuff Dan Choi builds is high quality
- phwd 16y agoHas anyone figured out how to set the encoding and content-type for an attachment? Or has it not implemented as yet? I really do love it though. I wish I saw this a few days ago, just did my first mutt setup (took me a few hours, I am very slow). The contact autocompletion is nice. Is there a reason for one not being able to just to generate the whole contact list ?
- p_nathan 16y agoI'm thinking, you know, there used to be complaints about vi being an operating system with a lousy text editor. Oh, wait, that was emacs, wasn't it. Hmmmm.
- vsagarv 16y agoCool stuff :) Played with it briefly. Need to find a way to see only unread mails in my priority inbox. gmail allows doing a "is:unread is:important" to get there (apart from the straight route of clicking on the priority-inbox link). BTW, though vmail intro talks of Vim 7.3, I am not seeing any issue with getting vmail on my Vim 7.2. Guess it is recent enough.
- coliveira 16y agoI just use pine+IMAP with vim as the external composer. Much easier and does the job!
- crazydiamond 16y agoI have been trying this out. It's great. Some key bindings do conflict such as C-p with Yankring. Also, need to be able to configure to use with links or elinks and not just lynx. I hope the author keeps working on this.