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

1

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?

Vaughan Hilts

Posted 2015-03-28T03:30:05.243

Reputation: 67

The arrows and the home, end, etc are in the same place. – shinzou – 2017-09-23T22:36:13.330

Answers

1

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!

IlyaEremin

Posted 2015-03-28T03:30:05.243

Reputation: 126