Hi. I had the same problem, but my method of solving the problem was much more crude (and I know a lot of other programmers who have done the same thing, so it's not really that bad...).
So I apologize if this isn't the "workaround" you were hoping to learn about... anyway, if you're someone who Putty's into a *nix machine from Windows, you can disable the capslock key in the registry with one line (or change it to something else, I changed it to ESC... some veteran unix hackers like CTRL) and you will never have to worry about this ever again for the rest of your wholesome life. I actually did this cause of the same problem after my brother said he's done this years ago and never looked back. If you're in Linux or BSD, there are ways to remove the CAPSLOCK mapping. IF I NEED TO TYPE LIKE THIS, I can do it fast enough just by holding the left shift key with my pinky and still type... so I never use it. What do you think? Too aggressive of a solution? Also, about the CapsLock->CTRL thing, check out this page: http://en.wikipedia.org/wiki/Vi and scroll down to the keyboard map. You will see isn't not a bad solution after all, considering this is what Bill Joy was working with at the time of its original invention. Hope it helps 2008/7/15 Gautam Iyer <[EMAIL PROTECTED]>: > Hi All, > > Does anyone know if it is possible to automatically disable caps lock > when I exit insert mode? I often enable it to type the name of > variables, and then forget to disable it when I exit insert mode. > > Then pressing "j" joins lines, and to my frustration pressing "u" will > not undo it back as expected. At this point I realize my stupidity in > having left caps lock on, and after correcting the error and swearing at > the monitor I return to my blissful state. > > If perhaps caps lock could be disabled automatically... > > GI > > -- > 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD > 84. I will not have captives of one sex guarded by members of the > opposite sex. > -- smu johnson <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
