Gvim as editor

Guido Milanese guido.milanese at unicatt.it
Thu Mar 22 17:00:49 UTC 2007


I am a new listmember, but I have been using mc for ages.. I have a little 
problem. I would like to bind 'F4' (editor) to gvim. I have edited 
the 'bindings' file as follows:

# Text document
regex/\.(txt|TXT|Txt)$
        Open=(gvim %f >/dev/null 2>&1 &)

but gvim is not called, and F4 calls vim in console mode, which is very useful 
but I prefer the 'X' version. If I call gvim manually on a file (using '@') 
it's all right.

Thanks for helping me!
guido

------------
Guido Milanese
http://www.arsantiqua.org



More information about the mc mailing list