Windows – How to turn off ALT + numeric keypad ASCII symbol insertion

asciieclipsekeyboardkeyboard shortcutswindows 7

I prefer to use the cursor keys on the numeric keypad with Num Lock turned off. This is fine most of the time but in Eclipse it's causing problems with some of the shortcuts, e.g. Alt+Up/Down to move lines around and Alt+Left to navigate backwards — both of these stick in a symbol (e.g. ☻ for Alt+Down) after performing the shortcut function.

As a last resort I could either (a) reassign the shortcut keys (don't want to do this as would prefer to use/learn the standard ones) or (b) use the mini cursor keys (not keen on this as prefer to have PgUp/PgDn/Home/End underneath my fingers without jumping my hand around).

Is it possible to turn off the Alt+numpad shortcut for inserting ASCII characters? (I'm using Windows 7.)

Best Answer

You can use Autohotkey to remap, e.g., NumpadLeft to Left, which should remove any of the Alt + Numpad side-effects.

; For Alt + key (with NumLock OFF)
NumpadIns::Ins
NumpadEnd::End
NumpadDown::Down
NumpadPgDn::PgDn
NumpadLeft::Left
NumpadClear::
NumpadRight::Right
NumpadHome::Home
NumpadUp::Up
NumpadPgUp::PgUp
NumpadDel::Del
Related Question