Vim Tips Wiki
(Move categories to tip template)
(link to wikipedia page about this not-too-well-known tool and add category)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
{{TipImported
 
{{TipImported
 
|id=328
 
|id=328
|previous=327
+
|previous=325
 
|next=330
 
|next=330
 
|created=September 18, 2002
 
|created=September 18, 2002
Line 9: Line 9:
 
|version=5.7
 
|version=5.7
 
|rating=99/30
 
|rating=99/30
|category1=
+
|category1=Integration
 
|category2=
 
|category2=
 
}}
 
}}
You can tell MS VFP to use an external editor for editing project files.
+
You can tell [http://en.wikipedia.org/wiki/Visual_FoxPro Microsoft Visual FoxPro] to use an external editor for editing project files.
   
 
To tell MS VFP to use Vim, use regedit to locate:
 
To tell MS VFP to use Vim, use regedit to locate:

Latest revision as of 23:55, 7 August 2009

Tip 328 Printable Monobook Previous Next

created September 18, 2002 · complexity basic · author Stanislav Sitar · version 5.7


You can tell Microsoft Visual FoxPro to use an external editor for editing project files.

To tell MS VFP to use Vim, use regedit to locate:

[HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\5.0\Options]

and create a new item

TEDIT

with string content

"/N C:\Progra~1\vim\vim61\gvim.exe"

(or whatever your path to Vim happens to be).

This will not replace the internal VFP editor for such things as modifying the "click method" for a button (unfortunately), but when you modify a program, VFP will fire up gvim.

Comments[]