On Thu, Jan 18, 2007 at 02:31:21PM -0200, Vinicius Pinto wrote: > I'm using Vim 7.0 on Windows XP and my keyboard mapping is set so > brazilian portuguese (ABNT2). The problem is that sometimes when I'm > using Vim, it changes the mapping to US, so, for example, when I type > the "?" key, it prints a quote. If I close Vim and open again, it's > back to the correct mapping. > > I'm not sure what's happening, but it seems that the problem occurs > when I alternate between windows using ALT+Tab. Is there anyone with > this problem? > > Thanks, > Vinicius
I'm a dvorak user. Everytime I end up on someone else's computer (or at a public console) I have to setup my layout from us to us.dvorak. Same goes for Windows XP. The thing I noticed with Windows versions (2000/XP/2003) is that, even if I set the dvorak layout to default, it keeps the layout settings for each window that was opened before my selection. So each time I switch to an already opened window I have to select the dvorak layout. Newly started applications start with dvorak now. Now all that's in theory. The thing is that Windows behavior is random regarding this issue. I can be in the middle of writing something in my favorite editor when suddenly the keyboard gets set back to "default", i.e. qwerty layout. This happens rarely but it's frustrating. Thank God I only encounter Windows at the University (-: Anyway, you could be in the same situation here. I suggest you find a way to reproduce this (if you can) and submit a bug. Just make sure its vim doing all the mambo-jambo.