Live data from Hacker News

A vim interface for gmail: Vmail

danielchoi.com

11–20 of 80 posts

Re: A vim interface for gmail: Vmail

#11
While this is awesome, I am one of those guys who feel uncomfortable to store my raw password in a dotfile, not to mention I'm managing my dotfiles in Github, authentication in every run doesn't seem convenient either. I see that this happens in other places such as Github gists-terminal and some twitter-terminal clients. Is there any way we can store these credentials locally in a safer way like SSH keys?.

Re: A vim interface for gmail: Vmail

#13

While this is awesome, I am one of those guys who feel uncomfortable to store my raw password in a dotfile, not to mention I'm managing my dotfiles in Github, authentication in every run doesn't seem convenient either. I see that this happens in other places such as Github gists-terminal and some twitter-terminal clients. Is there any way we can store these credentials locally in a safer way like SSH keys?.

OSX has keychain which is designed for these scenarios.

http://www.dribin.org/dave/blog/archives/2006/01/16/keychain...

https://developer.apple.com/library/mac/#documentation/Secur...

Re: A vim interface for gmail: Vmail

#14
post #2

Does this mean that vim is now officially finished?

Zawinski's Law Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.

Is there a generalization of Zawinski's Law postulating that "Every program should expand until it can read itself"?

Re: A vim interface for gmail: Vmail

#15
post #4

Wow, I love the idea. I have always wanted to manage my mail via terminal, but didn't want to set up Mutt or something similar.

Setting up mutt for GMail these days is no harder than setting up vmail. This is a complete config file for mutt that will connect to your gmail account:

    set folder=imaps://imap.gmail.com:993
    set spoolfile=+INBOX
    set imap_user='your_username@gmail.com'
    set smtp_url = "smtp://your_username@smtp.gmail.com:587/"
If you don't want to enter your password every time, you can set it as imap_pass (for reading) and smtp_pass (for sending).

Re: A vim interface for gmail: Vmail

#16
post #13

While this is awesome, I am one of those guys who feel uncomfortable to store my raw password in a dotfile, not to mention I'm managing my dotfiles in Github, authentication in every run doesn't seem convenient either. I see that this happens in other places such as Github gists-terminal and some twitter-terminal clients. Is there any way we can store these credentials locally in a safer way like SSH keys?.

OSX has keychain which is designed for these scenarios. http://www.dribin.org/dave/blog/archives/2006/01/16/keychain... https://developer.apple.com/library/mac/#documentation/Secur...

Several Linux tools for this purpose have existed for a while as well - gnome-keyring (now seahorse)[1], KWallet, etc.

[1] https://wiki.archlinux.org/index.php/GNOME_Keyring

Re: A vim interface for gmail: Vmail

#17
post #8

Does it have support for two-factor auth? In the event of 2FA/MFA, I'm assuming one needs to generate an application-specific password and keep that in the .rc? Alternatively, I see there are requests for using OAuth, which would be a similar approach to have a "token" that can be revoked.

> In the event of 2FA/MFA, I'm assuming one needs to generate an application-specific password and keep that in the .rc?

As far as I am aware, this is currently a limitation of any third-party client that connects to Gmail.

Re: A vim interface for gmail: Vmail

#19
post #15
post #4

Wow, I love the idea. I have always wanted to manage my mail via terminal, but didn't want to set up Mutt or something similar.

Setting up mutt for GMail these days is no harder than setting up vmail. This is a complete config file for mutt that will connect to your gmail account: set folder=imaps://imap.gmail.com:993 set spoolfile=+INBOX set imap_user='your_username@gmail.com' set smtp_url = "smtp://your_username@smtp.gmail.com:587/" If you don't want to enter your password every time, you can set it as imap_pass (for reading) and smtp_pass…

> If you don't want to enter your password every time, you can set it as imap_pass (for reading) and smtp_pass (for sending).

If you're on Linux, it's also rather simple to store this in a keyring such as gnome-keyring (Seahorse).

Post reply on HN