{"id":28,"date":"2014-03-10T01:33:15","date_gmt":"2014-03-10T01:33:15","guid":{"rendered":"http:\/\/www.hexland.com\/blog\/?p=28"},"modified":"2014-03-10T01:34:26","modified_gmt":"2014-03-10T01:34:26","slug":"easing-the-transition","status":"publish","type":"post","link":"http:\/\/www.hexland.com\/blog\/?p=28","title":{"rendered":"Easing the transition"},"content":{"rendered":"<p>Having been a PC user for almost 30 years now, I&#8217;ve changed over to an iMac as my primary machine. \u00a0(I have Parallels installed, of course, for when I need to do something PC&#8217;ish or use some of my more esoteric development software)&#8230; \u00a0One of the major things that has been driving me MENTAL is the change in keyboard layout&#8230; I can handle SPLAT-C and SPLAT-V for cut\/paste instead of CTRL-C\/V &#8212; but why the hell would anyone mess with HOME or END? \u00a0Or event some of the more text-editing centric ones like word jumping left and right, and delete word&#8230;<\/p>\n<p>Anyway, one of the things I discovered is that with OS X 10.8 onwards, you can just change all of the default mappings easily by adding a new file with the new keyboard macros!<\/p>\n<p>Create a folder in your user Library called KeyBindings and create a file called DefaultKeyBinding.dict and slap this in there&#8230;<\/p>\n<blockquote>\n<pre>~\/Library\/KeyBindings\/DefaultKeyBindings.dict<\/pre>\n<pre>{\r\n\"\\UF729\" = \"moveToBeginningOfLine:\";\r\n\"^\\UF729\" = \"moveToBeginningOfDocument:\";\r\n\"$\\UF729\" = \"moveToBeginningOfLineAndModifySelection:\";\r\n\"^$\\UF729\" = \"moveToBeginningOfDocumentAndModifySelection:\";\r\n\"\\UF72B\" = \"moveToEndOfLine:\";\r\n\"^\\UF72B\" = \"moveToEndOfDocument:\";\r\n\"$\\UF72B\" = \"moveToEndOfLineAndModifySelection:\";\r\n\"^$\\UF72B\" = \"moveToEndOfDocumentAndModifySelection:\";\r\n\"^\\UF702\" = \"moveWordLeft:\";\r\n\"^\\UF703\" = \"moveWordRight:\";\r\n\"$\\UF700\" = \"moveUpAndModifySelection:\";\r\n\"$\\UF701\" = \"moveDownAndModifySelection:\";\r\n\"$\\UF702\" = \"moveLeftAndModifySelection:\";\r\n\"$\\UF703\" = \"moveRightAndModifySelection:\";\r\n\"^$\\UF702\" = \"moveWordLeftAndModifySelection:\";\r\n\"^$\\UF703\" = \"moveWordRightAndModifySelection:\";\r\n\"^\\U007F\" = \"deleteWordBackward:\";\r\n}<\/pre>\n<\/blockquote>\n<p>Looking for the raw key values? \u00a0I picked up some really useful ones here&#8230;<\/p>\n<p><a href=\"http:\/\/www.hcs.harvard.edu\/~jrus\/site\/KeyBindings\/Windows%20Bindings.dict\">http:\/\/www.hcs.harvard.edu\/~jrus\/site\/KeyBindings\/Windows%20Bindings.dict<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having been a PC user for almost 30 years now, I&#8217;ve changed over to an iMac as my primary machine. \u00a0(I have Parallels installed, of course, for when I need to do something PC&#8217;ish or use some of my more esoteric development software)&#8230; \u00a0One of the major things that has been driving me MENTAL is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":2,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":30,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/30"}],"wp:attachment":[{"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hexland.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}