Hello Tony, thanks for reply. > - When I was on Windows (98, then XP), I never needed to hold the Shift key > to generate a Ctrl+letter combo. If your keyboard doesn't produce anything > for Ctrl+W unless you also hold Shift, then maybe there is something wrong > with your keyboard.
I tried with two different PS/2 keyboard, for both I had to use Shift key. > > - You didn't say whether you're using gvim or Console Vim; gvim has more > direct access to the keyboard. If Console Vim doesn't work for you, try > gvim. It's gvim, latest version 7.2. I also tried with clean vimrc, in case mine affected somehow. With ssh connection from Windows to console Vim in Linux over Putty I have to use Shift too. > - The Ctrl-W prefix and the :winc[md] ex-command are equivalent. Mapping one > to the other wouldn't be easy however, because the ex-command (but not the > Normal-mode command) needs a carriage-return (an <Enter> keypress) after its > operand. > > - You can also map something else (not Ctrl-w because Vim cannot tell it > apart from Ctrl-Shift-w) to Ctrl-W. I have given up the idea with mappings. It turns out that every shortcut is case sensitive in Windows. I would need to remap way to may things. > In Normal mode, your best bets are F2 to F12 (maybe not F10 if it > triggers the System menu), Shift-F1 to Shift-F12, or any accented letter or > other non-ASCII character that may be present on your keyboard. All F* keys are already mapped to some handy functions :) > (Mine has ² é § è ç à µ ù that need neither AltGr nor Shift nor Alt nor a > dead-key > prefix, plus a host of others if I remove that restriction; but with a name > like yours, I'd bet your keyboard is more likely Finnish than Belgian.) In > Normal mode you can also use Alt-key combinations (to Vim, Alt-w is > equivalent to the ÷ division sign 0xF7). Yep, I have two different keyboards with Finnish and US layouts. Alt+something is usually bind to menu items, so that's not an option. -- Aarto -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe, reply using "remove me" as the subject.
