Vim Tips Wiki
No edit summary
 
(Change to TipImported template + severe manual clean)
Line 1: Line 1:
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=328
 
|id=328
  +
|previous=327
|title=Vim in Microsoft Visual Foxpro
 
  +
|next=330
|created=September 18, 2002 22:53
+
|created=September 18, 2002
 
|complexity=basic
 
|complexity=basic
 
|author=Stanislav Sitar
 
|author=Stanislav Sitar
 
|version=5.7
 
|version=5.7
 
|rating=99/30
 
|rating=99/30
 
}}
|text=
 
You can tell MS VFP to use an external
+
You can tell MS VFP to use an external editor for editing project files.
   
 
To tell MS VFP to use Vim, use regedit to locate:
editor for editing project files.
 
   
  +
[HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\5.0\Options]
To tell MS VFP to use Vim:
 
   
 
and create a new item
   
 
TEDIT
   
 
with string content
start regedit
 
   
 
"/N C:\Progra~1\vim\vim61\gvim.exe"
locate
 
   
 
(or whatever your path to Vim happens to be).
[HKEY_CURRENT_USER
 
   
  +
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.
\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.
 
 
 
 
Start MS VFP, start Help and
 
 
look for TEDIT. ;-)
 
}}
 
   
== Comments ==
+
==Comments==
<!-- parsed by vimtips.py in 0.533287 seconds-->
 

Revision as of 12:23, 2 November 2007

Tip 328 Printable Monobook Previous Next

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


You can tell MS VFP 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