[{"data":1,"prerenderedAt":158},["ShallowReactive",2],{"blog:2015:make-home-end-keys-behave-like-windows-on-mac-os-x":3,"blogMore-Technology":144,"comments-make-home-end-keys-behave-like-windows-on-mac-os-x":157},{"id":4,"title":5,"body":6,"category":124,"commentCount":125,"date":126,"description":12,"excerpt":127,"extension":128,"filenames":129,"hidden":130,"image":131,"meta":132,"minutes":122,"navigation":133,"path":134,"seo":135,"showCategory":129,"stem":136,"tags":137,"updated":129,"url":141,"wordCount":142,"__hash__":143},"content\u002Fblog\u002F2015\u002Fmake-home-end-keys-behave-like-windows-on-mac-os-x.md","Make Home & End keys behave like Windows on Mac OS X",{"type":7,"value":8,"toc":121},"minimark",[9,13,18,30,40,43,97,104,115],[10,11,12],"p",{},"I’ve been using Mac OS X daily since 2001 when I purchased my Titanium PowerBook. I still can’t get used the Home and End key behaviour.",[14,15],"img",{"src":16,"alt":17},"https:\u002F\u002Fimg.damieng.com\u002Fblog\u002Fmac-web-keyboard.webp","Partial shot of an Apple Mac keyboard showing the Home & End keys",[10,19,20,21,25,26,29],{},"If you want Home to send you to the start of the line and not to the top of the document, then create a file called ",[22,23,24],"code",{},"DefaultKeyBinding.dict"," in your ",[22,27,28],{},"~\u002FLibrary\u002FKeyBindings"," folder (might need to create that folder too) with the following contents:",[31,32,37],"pre",{"className":33,"code":35,"language":36},[34],"language-text","{\n  \"\\UF729\"  = moveToBeginningOfParagraph:; \u002F\u002F home\n  \"\\UF72B\"  = moveToEndOfParagraph:; \u002F\u002F end\n  \"$\\UF729\" = moveToBeginningOfParagraphAndModifySelection:; \u002F\u002F shift-home\n  \"$\\UF72B\" = moveToEndOfParagraphAndModifySelection:; \u002F\u002F shift-end\n  \"^\\UF729\" = moveToBeginningOfDocument:; \u002F\u002F ctrl-home\n  \"^\\UF72B\" = moveToEndOfDocument:; \u002F\u002F ctrl-end\n  \"^$\\UF729\" = moveToBeginningOfDocumentAndModifySelection:; \u002F\u002F ctrl-shift-home\n  \"^$\\UF72B\" = moveToEndOfDocumentAndModifySelection:; \u002F\u002F ctrl-shift-end\n}\n","text",[22,38,35],{"__ignoreMap":39},"",[10,41,42],{},"This remapping does the following in most Mac apps - including Chrome (some apps manage their key handling directly):",[44,45,46,58,70,82],"ul",{},[47,48,49,53,54,57],"li",{},[50,51,52],"kbd",{},"Home"," and ",[50,55,56],{},"End"," will go to start and end of line",[47,59,60,63,53,65,67,69],{},[50,61,62],{},"Shift",[50,64,52],{},[50,66,62],{},[50,68,56],{}," will select to start and end of line",[47,71,72,75,53,77,79,81],{},[50,73,74],{},"Ctrl",[50,76,52],{},[50,78,74],{},[50,80,56],{}," will go to start and end of document",[47,83,84,86,88,53,90,92,94,96],{},[50,85,62],{},[50,87,74],{},[50,89,52],{},[50,91,62],{},[50,93,74],{},[50,95,56],{}," will select to start and end of document",[10,98,99,100,103],{},"Note that you need to reboot after creating this file for it to take effect. Also make sure your editor does not append ",[22,101,102],{},"TXT"," to the end of it!",[105,106,107],"blockquote",{},[10,108,109,110],{},"If you have a PC keyboard with LED back-lighting and would like the scroll-lock, num-lock or caps-lock LEDs on when using your Mac check out my free ",[111,112,114],"a",{"href":113},"https:\u002F\u002Fgithub.com\u002Fdamieng\u002Fsetledsmac","SetLEDs for Mac",[10,116,117],{},[118,119,120],"em",{},"[)amien",{"title":39,"searchDepth":122,"depth":122,"links":123},2,[],"Technology",84,"2015-04-24T16:38:50+00:00","[object Object]","md",null,false,{"src":16,"alt":17},{},true,"\u002Fblog\u002F2015\u002Fmake-home-end-keys-behave-like-windows-on-mac-os-x",{"title":5,"description":12},"blog\u002F2015\u002Fmake-home-end-keys-behave-like-windows-on-mac-os-x",[138,139,140],"Apple","keyboards","macOS","\u002Fblog\u002F2015\u002Fmake-home-end-keys-behave-like-windows-on-mac-os-x\u002F",241,"GEEx1ljgf_nDBmdMeVos8X7CjNv1DMP1Cvj9dtlP3Wc",[145,149,153],{"title":146,"date":147,"url":148},"VTX5000: Part 4 - Communications","2026-05-06T10:19:24.727Z","\u002Fblog\u002F2026\u002Fvtx5000-part-4-comms-routines\u002F",{"title":150,"date":151,"url":152},"VTX5000: Part 3 - Software ROM","2026-04-15T23:00:00.000Z","\u002Fblog\u002F2026\u002Fvtx5000-part-3-software-rom\u002F",{"title":154,"date":155,"url":156},"VTX5000: Part 2 - Hardware","2026-03-30T23:00:00.000Z","\u002Fblog\u002F2026\u002Fprism-vtx5000-part-2\u002F",[],1780900515854]