Saturday, February 19, 2011

CodeGear Delphi 2007 VI/VIM Key Mapping

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?

From stackoverflow
  • 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.

  • 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.

0 comments:

Post a Comment