{"id":28,"date":"2007-06-07T20:26:20","date_gmt":"2007-06-08T03:26:20","guid":{"rendered":"http:\/\/www.threshold-zero.com\/wordpress\/archives\/37"},"modified":"2020-09-07T20:46:55","modified_gmt":"2020-09-08T01:46:55","slug":"home-keys-on-a-mac","status":"publish","type":"post","link":"https:\/\/www.threshold-zero.com\/cblog\/2007\/06\/home-keys-on-a-mac\/","title":{"rendered":"Home Keys on a Mac"},"content":{"rendered":"<p>God, the default behavior drives me nuts! In case you&#8217;re not &#8220;in the know,&#8221; pressing the &#8220;Home&#8221; key on your keyboard if you&#8217;re using a Mac will scroll whatever window you&#8217;re in to the top &#8212; on a Windows computer, if just sends the cursor to whatever line you&#8217;re currently typing on.<\/p>\n<p>Well, &#8220;to each technology its own and all,&#8221; but I&#8217;m used to Windows&#8217; behavior, so I&#8217;m going to have to change that if I&#8217;m going to type on a Mac.<\/p>\n<p>So, I set out to look for a way to change it, and found <a href=\"http:\/\/evansweb.info\/articles\/2005\/03\/24\/mac-os-x-and-home-end-keys\">this site on the web<\/a> &#8212; pretty straight forward, if you ask me!<\/p>\n<p>Just add the following lines to your &#8220;~\/Library\/KeyBindings\/DefaultKeyBinding.dict.&#8221; file (if it doesn&#8217;t exist, create it):<\/p>\n<p>{<br \/>\n\/* Remap Home \/ End to be correct :-) <em>\/<br \/>\n&#8220;UF729&#8221; = &#8220;moveToBeginningOfLine:&#8221;; \/<\/em> Home <em>\/<br \/>\n&#8220;UF72B&#8221; = &#8220;moveToEndOfLine:&#8221;; \/<\/em> End <em>\/<br \/>\n&#8220;$UF729&#8221; = &#8220;moveToBeginningOfLineAndModifySelection:&#8221;; \/<\/em> Shift + Home <em>\/<br \/>\n&#8220;$UF72B&#8221; = &#8220;moveToEndOfLineAndModifySelection:&#8221;; \/<\/em> Shift + End *\/<br \/>\n}<\/p>\n<p>And that&#8217;s it! Just restart any application that you want to reflect this behavior and you&#8217;re good to go!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>God, the default behavior drives me nuts! In case you&#8217;re not &#8220;in the know,&#8221; pressing the &#8220;Home&#8221; key on your keyboard if you&#8217;re using a Mac will scroll whatever window you&#8217;re in to the top &#8212; on a Windows computer, if just sends the cursor to whatever line you&#8217;re currently typing on. Well, &#8220;to each [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[15],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-science-and-technology"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2ZUZG-s","_links":{"self":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":2,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":5127,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/posts\/28\/revisions\/5127"}],"wp:attachment":[{"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threshold-zero.com\/cblog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}