views:

659

answers:

2

After reading The Pragmatic Programmer, I became quite accustomed to VIM. When in Visual Studio I have ViEmu (http://www.viemu.com/) to provide me with VIM functionality.

Is anyone aware of a similar program/key binding/workaround to integrate VI/VIM key bindings in CodeGear Delphi 2007?

A: 

I remember seeing that in Delphi 7, but that might have been from CodeRush, a Delphi add-in that is no longer available for Delphi. . . . .

An alternative is you could use Delphi Prism in Visual Studio and keep using ViEmu . . . I know that doesn't work for your native code.

Jim McKeeth
Thanks for the quick answer Jim. Regretfully, CodeRush isn't available anymore. The cost of Delphi Prism is definitely a cost factor.
+1  A: 

Delphi's key bindings are extensible, first of all there are several keyboard mappings to choose from out of the box and then there are APIs in ToolsAPI unit to write your own (you should implement IOTAKeyboardBinding interface). I don't know about VIM but I assume it can be done with these APIs.

TOndrej