There are few things so frustrating than having to change stuff you have in your muscle memory, like hitting ctrl + c for copy or in this case using the home and end keys on your external keyboard and have home go to the beginning of the line and end move to, you guessed it, the end of the line. Mac os extended journaled windows. This is a quick guide to fix home and end functionality for non mac-keyboards connected to a mac.
Fire up your favorite terminal (you’re probably using iTerm2 like the rest of the world)
30 keyboard shortcuts Mac users need to know This collection of keyboard shortcuts for macOS can help users get the most from their iMacs, MacBook Pro and MacBook laptops. Exfat format mac and pc. For example, the Home and End keys on a Windows PC keyboard always – always – move the cursor to the start or end of a line. In Mac OS X, they do not (true, they are labelled with ↖ and ↘ and while this could mean jump to the start or the end of a document, they don’t do that.
The seasoned programmer could just go vi ~/Library/KeyBindings/DefaultKeyBinding.dict or more likely vim, but for the rest of us, nano works like a regular text editor.
In the empty file you just opened, copy and paste the following:
End Of Line Mac Keyboard Shortcuts
Having pasted it into the file, press ctrl + x and answer with y when you get the question if you want to save.
Tron End Of Line
Well that’s it. Now you have successfully remapped the home and en button for macOS. You need to restart to make the changes happen.