Zend certified PHP/Magento developer

Change Alt-Right/Let shortcut in Windows to go to beginning/end of line like macOS

In macOS, using command+right/left will go to the beginning or end of the current line of text. This was extremely useful when typing or coding in general, but in Windows, Alt+Left/Right has totally different behavior depending on the app. Is there any way to globally change this to only be used a text shortcut for nevigating text lines?

Or is there a way to remap the Alt+Left/Right shortcut key to the home/end keys? (home/end keys performs the beginning/end of line feature from macOS)