Special Request: Custom "go to beginning of line" command


I’m completely swamped at work or else I’d toss this together … so could someone help me out? Maybe @postcasio, @abe or @mark_hahn? Can someone implement a custom command that goes to the “beginning” of the current line the way @yushiyangk wants as described here?

Just something he can toss into his init.coffee and map to the HOME key?

Thanks in advance …


I’ll do it this afternoon.

Edit: I’m making this a package if that is ok. It is easier for me and I think easier to install.


Done. It is called home-fix package, https://atom.io/packages/home-fix.


Thanks a bunch @mark_hahn!