Your add-in should create DTE command and then create a keyboard binding for
the command using the Command.Bindings object.

Signature
Carlos J. Quintero (Visual Developer - .NET MVP)
The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
> I want to write an add-in that traps a particular keystroke, say, Ctrl+F8,
> in the source code editor to perform a specific function. Can anyone tell me
> how to trap the keystroke ? I have looked at the LineChanged event but this
> appears to be activated only when the line is completed.
>
> Nick Carter