windows control left/right arrow to end of line

Solution 1:

You can use the free AutoHotkey.

To following AutoHotkey script will:

  • Replaces Ctrl+left/right by Home/End to go to the beginning/end of the line

  • Replaces Alt+left/right by Ctrl+left/right to skip words left or right

The script is as follows:

$^left::Send, {home}
$^right::Send, {end}
$!left::Send, ^{left}
$!right::Send, ^{right}

After installing AutoHotKey, put the script in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group at C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

(However, in my opinion, learning and using the Windows standard hotkeys is more productive in the long run than forcing Windows to emulate the Mac.)

Useful AutoHotkey documentation:

  • List of Keys
  • Hotkeys