1

Re: Ctrl + [ works as Escape?

Does Ctrl + [ work as an alternative to Escape in ViEmu for Visual Studio?  I think I have removed all the bindings to Ctrl + [.

Last edited by iamphiy (2009-09-14 18:35:04)

2

Re: Ctrl + [ works as Escape?

Regularly, it does. The reason is not ViEmu itself, but the fact that the Windows output system creates an WM_CHAR with ESC (ASCII 27 or 0x1B) for the keypress Ctrl-[.

If it's not working for you, it's most likely due to some binding that is obscuring it, or for some interaction with another 3rd party add-in. To check the first option, you can go to Tools|Options|Keyboard and type Ctrl-[ in the "keybinding" editbox. For the second one, can you please paste the contents of Help|About here? That will help.

Regards,

  -- Jon

3

Re: Ctrl + [ works as Escape?

Ctrl-[ was bound to Reshaper_GoToContainingDeclaration globally and in text editor.  Ctrl-[ was also bound to Image.PreviousColor in VC image editor.  I removed all these bindings and restarted VS 2008 and Ctrl-[ is not working like I want it to.  I have this issue both on my Windows Vista laptop and Windows XP virtual machine through VMWare Fusion on a macbook pro.  Ctrl-[ works properly with the gvim installed on my windows machines.


My Help|About for my Vista laptop.

Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5

Installed Edition: Enterprise

Microsoft Visual Basic 2008   91905-270-0423381-60382
Microsoft Visual Basic 2008

Microsoft Visual C# 2008   91905-270-0423381-60382
Microsoft Visual C# 2008

Microsoft Visual C++ 2008   91905-270-0423381-60382
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office   91905-270-0423381-60382
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Web Developer 2008   91905-270-0423381-60382
Microsoft Visual Web Developer 2008

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB944899)   KB944899
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB945282)   KB945282
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB946040)   KB946040
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB946308)   KB946308
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB946344)   KB946344
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB946581)   KB946581
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB946673)   KB946673
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946673.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB947171)   KB947171
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB947173)   KB947173
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB947180)   KB947180
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB947540)   KB947540
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB947789)   KB947789
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB948127)   KB948127
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.

Hotfix for Microsoft Visual Studio Team System 2008 Test Edition - ENU (KB952241)   KB952241
This hotfix is for Microsoft Visual Studio Team System 2008 Test Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/952241.

NGEDIT Software's ViEmu   v2.1.23
ViEmu 2.1 - vi/vim editor emulation for Microsoft(TM) Visual Studio(TM)
(c) 2005-2008 NGEDIT Software (www.ngedit.com)

ReSharper 4.5   Full Edition build 4.5.1274.1 on 2009-07-21T19:01:06
ReSharper add-in for Microsoft Visual Studio. For more information about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper. Copyright © 2003–2009 JetBrains, Inc

VisualSVN   1.5.2
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at http://www.visualsvn.com
Copyright (c) 2005-2008 VisualSVN Ltd.

VSFileExplorer   1.0
VSFileExplorer

SonicFileFinder for Visual Studio 2008
For more information about SonicFileFinder, see the  website at
http://sonicfilefinder.jens-schaller.de
Copyright (c) 2006-2007 Jens Schaller.

4

Re: Ctrl + [ works as Escape?

If there is no keybinding obscuring Ctrl-[, it should definitely work like Esc thanks to Windows' own mechanism. I assume Esc itself works fine (I guess you would have said that instead if that was the case!).

Thus, what seems not to work is the Windows mechanism that generates a WM_CHAR message with ASCII 27 (Escape) when it gets a WM_KEYDOWN of '[' (the key next to 'P' on the keyboard). Just one thing - what locale / keyboard layout do you have active in your system? It might be important.

One way I think we can try to debug this is for me to send you an instrumented build of ViEmu, generate a log file of events, and that way I'll be able to see where the event is getting blocked.

Finally, one thing I have just seen -- you have ViEmu 2.1.23! That's a pretty old. Can you please install the latest version (just download the EXE installer from the front page and run it, it will automatically upgrade your installation). It could actually make a difference, and, in any case, I'd like to ensure we're testing the latest codebase.

Thanks, and apologies for the problem (Windows+VS input handling is a tough beast to beat!),

  -- Jon