You are not logged in.

#1 2009-01-28 00:19:58

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

gmail & vim

Hi , i dont know if this is being discussed before here. Feel free to point me to the discussion in that case.
I am for the first time seriously considering switching full time to gmail and leave my precious, faithfully serving me for years, mutt.
The major issue i have with this transaction is of course the gmail editor, & the fact that It doesnt behave like vim like the rest of the gmail interface does more or less.

I know that you can use the Its all text firefox extension and add gvim as an editor, i have tried it, but didnt like it much,
but if its the only one available, i might start using the combination a bit more to see if i can get used to it.
Do you know any other solutions tthat work?


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#2 2009-01-28 00:57:40

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: gmail & vim

I had never even thought of such a thing before I read your post. I did a little searching, and this came up. I really don't know anything about it other than the tidbits that I read on the home page. It may turn out to be cool:

http://djcraven5.blogspot.com/2006/10/s … m-vim.html

Offline

#4 2009-01-28 02:45:38

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gmail & vim

Ranguvar wrote:

How's this? wink

Totally irrelevant to what i asked tongue


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2009-01-28 03:09:21

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: gmail & vim

dolby wrote:
Ranguvar wrote:

How's this? wink

Totally irrelevant to what i asked tongue

Sorry - you said you were replacing Mutt with GMail, and then went on to lament about features Mutt had that GMail lacks (interface, using your own text editor). I assumed using GMail with Mutt would be the best of both worlds tongue It's what I'll be using soon. All mail easily accessible from anywhere, and a powerful client with Vim.

Offline

#6 2009-01-28 03:17:14

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gmail & vim

Mutt+Gmail rocks but the IMAP implemention in both mutt as well as gmail sucks. Its far from complete.
I will probably wait for a firefox release with much faster javascript execution, which is supposed to happen in 3.2 before i decide to switch. I havent tried the beta yet.

BTW i recently switched to google docs as well as google reader i had been using for a while, so i intend to get better aquented with the interface.
Im considering switching to GOS too lol tongue

Last edited by dolby (2009-01-28 03:30:33)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#7 2009-01-28 03:18:32

Lazer
Banned
Registered: 2007-08-02
Posts: 111

Re: gmail & vim

"It's all text" is not the only Firefox extension that works for this; I collected a few others at

http://shreevatsa.wordpress.com/2006/12 … al-editor/

[Noticed this thread because someone followed the link from here :-) (And this reply thanks to bugmenot.)]

Offline

#8 2009-01-28 03:28:23

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gmail & vim

Thanks for the link Laser.

Last edited by dolby (2009-01-28 03:35:46)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#9 2009-01-28 03:58:02

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gmail & vim

I also found this: https://addons.mozilla.org/en-US/firefox/addon/5482
The screenshots are encouraging.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#10 2009-01-28 08:33:34

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: gmail & vim

dolby wrote:

I also found this: https://addons.mozilla.org/en-US/firefox/addon/5482
The screenshots are encouraging.

That looks nice but I imagine it would be a bit of a pain going back and fourth exiting and restarting vim so that you could use your browser via the keyboard.

I use a gtk key theme to add ctrl+w and ctrl+h support to all gtk apps which is normally good enough for quick text input. Otherwise I use Vimperators ctrl+i which works like the "It's All Text!" extension.

Offline

#11 2009-01-30 10:44:37

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gmail & vim

Thanks for the suggestions. I dont think im ready to dive into gmail yet. Maybe in the future.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#12 2009-01-30 15:29:12

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: gmail & vim

dolby wrote:

Mutt+Gmail rocks but the IMAP implemention in both mutt as well as gmail sucks. Its far from complete.

why?
i'm using mutt and imap, not with gmail, but with another mail provider. it works great here.
and when enabling the header cache in mutt it's also fast.

Offline

#13 2009-01-30 16:11:09

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: gmail & vim

mutt+gmail imap is slow on connection and navigation (proportional to the size of your folders) for me atleast hmm

on the other hand, i am _extremely_ happy with my current setup

gmail + offlineimap + msmtp + mutt; i'd recommend it to anyone and everyone.

my configs are at dotfiles.org under brisbin33 if you're interested

Last edited by brisbin33 (2009-01-30 16:14:04)

Offline

#14 2009-05-15 13:08:52

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: gmail & vim

brisbin33 wrote:

mutt+gmail imap is slow on connection and navigation (proportional to the size of your folders) for me atleast hmm

on the other hand, i am _extremely_ happy with my current setup

gmail + offlineimap + msmtp + mutt; i'd recommend it to anyone and everyone.

my configs are at dotfiles.org under brisbin33 if you're interested

I'd just like that thank you for the mutt setup. It works beautifully.   Direct IMAP was getting painfully slow and I was getting alot of freeze ups issuing commands in the application.

Offline

#15 2009-05-15 16:06:02

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: gmail & vim

I use gmail, and mutt with direct Imap, and I don't have any problem at all. It seems like everyone hates the gmail Imap implementation but I love it. Just a bunch of folders for all your labels.

Offline

#16 2009-05-15 20:04:29

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: gmail & vim

^i like it but it's slow, much better with offlineimap

Offline

#17 2009-05-15 20:40:32

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: gmail & vim

hey scv5, glad you liked my configs. 

however, be weary of offlineimap; it's great don't get me wrong but (at least for me) it will often crash or freeze when setup to run continuously.

to get around this, i have an 'every 5 minutes' cronjob that simply checks if it's running and starts it if it's not, then another cron job each morning that actively kills and restarts it incase it's frozen (running but not syncing). 

not sure, it could be an issue with them or gmail, but i think i've finally got it working just right with these little cron-hacks.

Offline

#18 2009-05-15 22:38:43

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: gmail & vim

ah thanks! 

One question though, on the tls_trust_file for msmtp, where do I obtain (or find) that file?

Edit #1: would you mind sharing your cron jobs?

Edit #2: nm found the tls trust file

tls_trust_file /etc/ssl/certs/ca-certificates.crt

Last edited by scv5 (2009-05-15 23:32:13)

Offline

#19 2009-05-16 00:35:08

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: gmail & vim

scv5 wrote:

ah thanks! 

One question though, on the tls_trust_file for msmtp, where do I obtain (or find) that file?

Edit #1: would you mind sharing your cron jobs?

Edit #2: nm found the tls trust file

tls_trust_file /etc/ssl/certs/ca-certificates.crt

i actually just edited my msmtp dotfile to include a link to a cert i found via google a while ago (i didn't know we had in /etc already).

i run this script every five minutes to check if offlineimap is running and start it if it's not:

#!/bin/bash
# a simple script to restart offlineimap if it's died

if [ $(pgrep offlineimap | wc -l) -eq 0 ] ; then
  offlineimap
  exit 0
else
  exit 0
fi

exit 0

then each morning i have /usr/bin/pkill offlineimap in another cron job... five minutes later that first script starts it up again.

have fun!

Offline

#20 2009-05-16 02:28:53

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: gmail & vim

mucho gracias smile

Offline

Board footer

Powered by FluxBB