Windows – Is it possible to map Alt + Arrow Key to the start and end of a line in various applications

keyboardkeymapwindows 8

I really miss the ability to use the arrow keys and a modifier to move between the start and the end of a line from OSX. Coming from OSX and doing this, it's a real hassle to have to move over to the other side of the keyboard to hit the home and end keys.

Is Alt combined with the arrows keys used for something else that might bite me later?

Best Answer

You can use Autohotkey and following script:

!Left::Send, {Home} !Right::Send, {End} !+Left::Send, {Shift down}{Home}{Shift up} !+Right::Send, {Shift down}{End}{Shift up}

Last two lines make work selection like home\end + shift!

Related Question