Faire un don pour aider au developpement de WiPhA



Se reconnecter

Votre nom (ou pseudo) :

Votre code secret

 Nombre de membres 126 membres

Connectés :

( personne )

 2318279 visiteurs

 10 visiteurs en ligne

forum.gifForum - External Editor - Sujet n°139

Forum - Forum
External Editor - External Editor

actif  Sujet n° 139  gvim on mac OS X

le 26/09/2006 @ 21:03
par Albert



I am a great fan of the "external editor" and I use it on my Windows machine. At this point, I have spent a day trying to get it to work on my mac (OS X). After browsing through everything posted here, I still was not able to use it.

QUESTION: I want to put the appropriate line in the "Preferences" of the external editor. I have tried many things, including:

/Applications/ --nofork

open -a gvim

I can't get it to work. Ideally I do not want to go to my X11 system, but use the gvim GUI, which works great in the OSX environment.

I would appreciate any advice! Thanks. Cheers, Albert
  Poster une réponse  Haut
Réponse n° 1
le 27/09/2006 @ 20:56
par Globs




I found no way to launch gvim in a nofork way on osx.
vim launches correctly if you call it in the terminal:


But this does not open a new window.
I did not find how to have Terminal open a new window starting vim.
So I fallback on the only (currently, for me) working solution:

xterm -e ~/Desktop/vim70/

which you don't like either, as it requires X11.

Ecrire à Globs   Site web Globs Poster une réponse  Haut
Réponse n° 2
le 28/09/2006 @ 09:01
par Albert


Thanks a lot, Globs. I appreciate your help here. I will try to get it to work through X11 on my mac. Again, I really like this stuff. ---Albert
  Poster une réponse  Haut
Réponse n° 3
le 04/11/2008 @ 21:22
par antun


Hi all,

It took me a while to figure this out, so I'm posting here for posterity:

You need the Cocoa-based MacVim, and not the old Carbon-based Vim. You can download MacVim from here:

According to, MacVim "... is the latest and is being actively developed." I removed vim and gvim and replaced with MacVim, and set the path to my text editor in External Editor to:


... and it worked great.

The only catch is that I need to exit out of MacVim entirely (i.e. command+q, not just :q) before it will save the email message to the compose window.

  Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
Catégories de discussion  Forum 

^ Haut ^