Open Karabiner --> Preferences --> Change Key
browse to the For PC Users
section, and check Use PC Style Home /End
.
Note, I picked (Change Home to Command+Left)
instead of (Change Home to Control+A)
, as if I picked the first, and if the line was wrapped, home would take me to the beginning of the wrapped line, several lines above, instead of taking me to the beginning of the current line.
![](http://image80.360doc.cn/DownloadImg/2015/01/0406/48711959_1.png)