{"id":1678,"date":"2011-08-17T10:14:25","date_gmt":"2011-08-17T17:14:25","guid":{"rendered":"http:\/\/mcclanahoochie.com\/blog\/?p=1678"},"modified":"2015-04-26T20:45:27","modified_gmt":"2015-04-27T03:45:27","slug":"remapping-macbook-pro-keys-for-emacs","status":"publish","type":"post","link":"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/","title":{"rendered":"Remapping Macbook Pro Keys for Emacs Use"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1683\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/dsc_1579_l2-2\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png?fit=1152%2C1728&amp;ssl=1\" data-orig-size=\"1152,1728\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSC_1579_L2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png?fit=682%2C1024&amp;ssl=1\" class=\"aligncenter size-medium wp-image-1683\" title=\"DSC_1579_L2\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2-200x300.png?resize=200%2C300\" alt=\"\" width=\"200\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png?resize=200%2C300&amp;ssl=1 200w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png?resize=682%2C1024&amp;ssl=1 682w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/DSC_1579_L2.png?w=1152&amp;ssl=1 1152w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<h1>Background:<\/h1>\n<p>I recently took the $$$ plunge and got a fancy new 15&#8243; Macbook Pro to replace my 5-year old ASUS laptop. Though I&#8217;m not too fond of Apple&#8217;s business model, I just couldn&#8217;t seem to find (hardware wise) a more quality built and ascetically pleasing laptop than a Macbook Pro.\u00a0After 6 years straight of using Linux as my main OS (I <em>despise<\/em> Windows), I&#8217;m now learning my way around OS X for the first time.\u00a0Having never used a Mac before, everything about OS X&#8217;s GUI is new to me.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1702\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/asus-macbook-side-by-side\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg?fit=816%2C460&amp;ssl=1\" data-orig-size=\"816,460\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"asus-macbook-side-by-side\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg?fit=816%2C460&amp;ssl=1\" class=\"aligncenter size-medium wp-image-1702\" title=\"asus-macbook-side-by-side\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side-300x169.jpg?resize=300%2C169\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg?resize=500%2C281&amp;ssl=1 500w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus-macbook-side-by-side.jpg?w=816&amp;ssl=1 816w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once I open a terminal though (thankfully there is one!), I start to feel more at home&#8230; except, <em>I do not like the default placement of the ctrl \/ alt \/ command keys<\/em>! Fortunately, after a few days of trying various programs and experimenting with settings, I&#8217;ve found a solution that works for me &#8211; <em>without<\/em>\u00a0having to change system-wide settings.<\/p>\n<p>&nbsp;<\/p>\n<h1>My Emacs Requirements<\/h1>\n<p>While I&#8217;m a late-comer to adopting Emacs, I&#8217;ve been using it as my editor of choice for the past year, and am forever hooked.\u00a0Since I&#8217;ve started learning Emacs, I&#8217;ve gotten used to the<strong> Option key = Ctrl key<\/strong> and the<strong> Command key = Alt\/Meta key<\/strong>.\u00a0So, it came as a huge annoyance to find that on my new Macbook, <em>THERE IS NO RIGHT CONTROL KEY!<\/em>\u00a0Ah, I refuse to re-learn all my emacs muscle memory!<\/p>\n<figure id=\"attachment_1685\" aria-describedby=\"caption-attachment-1685\" style=\"width: 256px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1685\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/asus_apple_keyboards_a\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png?fit=1116%2C1258&amp;ssl=1\" data-orig-size=\"1116,1258\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"asus_apple_keyboards_A\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png?fit=908%2C1024&amp;ssl=1\" class=\"size-medium wp-image-1685 \" title=\"asus_apple_keyboards_A\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A-266x300.png?resize=266%2C300\" alt=\"\" width=\"266\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png?resize=266%2C300&amp;ssl=1 266w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png?resize=908%2C1024&amp;ssl=1 908w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/asus_apple_keyboards_A.png?w=1116&amp;ssl=1 1116w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><\/a><figcaption id=\"caption-attachment-1685\" class=\"wp-caption-text\">Goal: Option--&gt;Ctrl | Command--&gt;Meta<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h1>Configuring Emacs Key Bindings<\/h1>\n<p>Emacs can run as a standalone GUI, or within a terminal. The following are my workarounds to regain my famailar key mappings for each case.<\/p>\n<h3><strong><em>Aquamacs<\/em><\/strong><\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/aquamacs_dock_logo.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1671\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/aquamacs_dock_logo\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/aquamacs_dock_logo.png?fit=190%2C72&amp;ssl=1\" data-orig-size=\"190,72\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"aquamacs_dock_logo\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/aquamacs_dock_logo.png?fit=190%2C72&amp;ssl=1\" class=\"size-full wp-image-1671 alignnone\" title=\"aquamacs_dock_logo\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/aquamacs_dock_logo.png?resize=190%2C72\" alt=\"\" width=\"190\" height=\"72\" \/><\/a><\/p>\n<p>Aquamacs is a great standalone Emacs editor for OS X, and remapping its keys is pretty easy: simply add the following two lines to your <em>.emacs<\/em> file.<br \/>\n<code><br \/>\n(setq mac-option-modifier 'control)<br \/>\n(setq mac-command-modifier 'meta)<br \/>\n<\/code><\/p>\n<h3><strong><em>iTerm2<\/em><\/strong><\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_dock_logo.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1674\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/iterm2_dock_logo\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_dock_logo.png?fit=160%2C63&amp;ssl=1\" data-orig-size=\"160,63\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"iterm2_dock_logo\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_dock_logo.png?fit=160%2C63&amp;ssl=1\" class=\"size-full wp-image-1674 alignnone\" title=\"iterm2_dock_logo\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_dock_logo.png?resize=160%2C63\" alt=\"\" width=\"160\" height=\"63\" \/><\/a><\/p>\n<p>Using custom emacs keybindings inside a terminal was a bit more tricky to figure out. Fortunately, I found <em>iTerm2<\/em> is a nice Terminal replacement in OS X, and is very customizable. The following are\u00a0screenshots\u00a0of the settings to change:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1676\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/iterm2_profiles_keys\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png?fit=885%2C620&amp;ssl=1\" data-orig-size=\"885,620\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"iterm2_profiles_keys\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png?fit=885%2C620&amp;ssl=1\" class=\"aligncenter size-medium wp-image-1676\" title=\"iterm2_profiles_keys\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys-300x210.png?resize=300%2C210\" alt=\"\" width=\"300\" height=\"210\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png?resize=428%2C300&amp;ssl=1 428w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_profiles_keys.png?w=885&amp;ssl=1 885w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1675\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/iterm2_preferences_keys\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png?fit=885%2C620&amp;ssl=1\" data-orig-size=\"885,620\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"iterm2_preferences_keys\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png?fit=885%2C620&amp;ssl=1\" class=\"aligncenter size-medium wp-image-1675\" title=\"iterm2_preferences_keys\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys-300x210.png?resize=300%2C210\" alt=\"\" width=\"300\" height=\"210\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png?resize=428%2C300&amp;ssl=1 428w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/iterm2_preferences_keys.png?w=885&amp;ssl=1 885w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\">As seen above:<\/span><br \/>\nIn the Profiles &gt; Keys screen:<br \/>\n* set left option as +esc<br \/>\nIn Preferences &gt; Keys screen:<br \/>\n* right option as control<br \/>\n* right command as left option<\/p>\n<p>&nbsp;<\/p>\n<h1>Wrapping up<\/h1>\n<p><a href=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1684\" data-permalink=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/old-asus-new-macbook-2\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?fit=1728%2C1152&amp;ssl=1\" data-orig-size=\"1728,1152\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"old-asus-new-macbook\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?fit=1024%2C682&amp;ssl=1\" class=\"aligncenter size-medium wp-image-1684\" title=\"old-asus-new-macbook\" src=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook-300x200.png?resize=300%2C200\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?resize=1024%2C682&amp;ssl=1 1024w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?resize=450%2C300&amp;ssl=1 450w, https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/08\/old-asus-new-macbook.png?w=1728&amp;ssl=1 1728w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Even with the Option and Command keys mapped to the &#8220;right&#8221; keys, the placement of the Macbook Pro&#8217;s Option key is not suitable for little (pinky) finger use. The placement shifts the ctrl key duty to my ring finger, but with the two keys now acting how I expect, this change isn&#8217;t too hard to get used to. So far, I&#8217;m happy I decided to go with a Macbook, as it is indeed a major upgrade from my old ASUS laptop!<\/p>\n<p>&nbsp;<\/p>\n<p>Update (09\/19\/11):<\/p>\n<h1>Window placement<\/h1>\n<p><a href=\"http:\/\/code.google.com\/p\/shiftit\/\" target=\"_blank\">Shift-It<\/a> is an incredible open-source utility for Mac OS X that mimics the window placement\u00a0functionality\u00a0found in Compiz on Ubuntu. The ability to move windows around using the arrow keys was something I felt was missing, until now!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background: I recently took the $$$ plunge and got a fancy new 15&#8243; Macbook Pro to replace my 5-year old ASUS laptop. Though I&#8217;m not too fond of Apple&#8217;s business model, I just couldn&#8217;t seem to find (hardware wise) a more quality built and ascetically pleasing laptop than a Macbook Pro.\u00a0After 6 years straight of &#8230; <a title=\"Remapping Macbook Pro Keys for Emacs Use\" class=\"read-more\" href=\"https:\/\/mcclanahoochie.com\/blog\/2011\/08\/remapping-macbook-pro-keys-for-emacs\/\" aria-label=\"Read more about Remapping Macbook Pro Keys for Emacs Use\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[197,73,196,74,101],"class_list":["post-1678","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-emacs","tag-mac","tag-macbook","tag-osx","tag-programming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pZdXI-r4","jetpack-related-posts":[{"id":2762,"url":"https:\/\/mcclanahoochie.com\/blog\/2012\/12\/yet-another-hackintosh-build\/","url_meta":{"origin":1678,"position":0},"title":"Yet Another Hackintosh Build","author":"mcclanahoochie","date":"December 25, 2012","format":false,"excerpt":"A Christmas present to myself this year: rebuild my desktop into a Hackintosh... Ever since I gave into Lightroom and started using my macbook for photo editing, I had been missing my desktop's larger monitor and faster processor. Since I can't run Lightroom on Linux, and since I can't stand\u2026","rel":"","context":"In \"computer\"","block_context":{"text":"computer","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/computer\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/lh5.googleusercontent.com\/-kR2Wra3-Bo4\/UNe23Cvps7I\/AAAAAAAANVQ\/DnXLnhUByCc\/s462\/20121223_110236_HDR.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1101,"url":"https:\/\/mcclanahoochie.com\/blog\/2011\/03\/1366x768-sucks\/","url_meta":{"origin":1678,"position":1},"title":"Stupid 1366&#215;768","author":"mcclanahoochie","date":"March 18, 2011","format":false,"excerpt":"Well, it seems laptop LCDs are all going from 16:10 aspect ratio to 16:9, to match the HDTV standard format.\u00a0The most popular 16:9 HD resolution, 1366 x 768, has taken over the laptop market and taken away precious vertical space on almost every new laptop LCD screen!\u00a0I'm sure 16:9 is\u2026","rel":"","context":"In \"laptop\"","block_context":{"text":"laptop","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/laptop\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2244,"url":"https:\/\/mcclanahoochie.com\/blog\/2012\/06\/giving-in-to-lightroom\/","url_meta":{"origin":1678,"position":2},"title":"Giving in to Lightroom","author":"mcclanahoochie","date":"June 2, 2012","format":false,"excerpt":"I got my first \"nice\" camera early last year, and soon realized I needed a nice way to organize my photos.\u00a0At first, I decided to use Picasa\u00a0because it seemed to have a nice beginner interface, and more importantly, it \"worked\" in Linux. For most of the year, I got by\u2026","rel":"","context":"In \"hackintosh\"","block_context":{"text":"hackintosh","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/hackintosh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2011\/12\/logo-digikam-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3390,"url":"https:\/\/mcclanahoochie.com\/blog\/2015\/06\/clean-macports\/","url_meta":{"origin":1678,"position":3},"title":"Clean MacPorts","author":"mcclanahoochie","date":"June 8, 2015","format":false,"excerpt":"Low on disk space? You might need to check\u00a0your macports space usage. \u00a0I'm always tight on space since I primarily use SSDs in my machines. Here are some tips I use to help clean macports. The following are some shell commands you can\u00a0use to help reclaim disk space from macports.\u2026","rel":"","context":"In \"bash\"","block_context":{"text":"bash","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/bash\/"},"img":{"alt_text":"Screen Shot 2015-05-22 at 9.01.43 PM-G","src":"https:\/\/i0.wp.com\/mcclanahoochie.com\/blog\/wp-content\/uploads\/2015\/06\/Screen-Shot-2015-05-22-at-9.01.43-PM-G.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2018,"url":"https:\/\/mcclanahoochie.com\/blog\/2011\/12\/last-post-of-2011\/","url_meta":{"origin":1678,"position":4},"title":"Last Post of 2011","author":"mcclanahoochie","date":"December 31, 2011","format":false,"excerpt":"Nothing important here, just some last minute ramblings while reflecting back on 2011... January - Spoke at the ATT Developer's Conference about a few of my Android projects February - Bought my first DSLR: a Nikon D3100 March - Discovered HDR photography April - Released first version of ViewerCV into\u2026","rel":"","context":"In \"life\"","block_context":{"text":"life","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/life\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/lh4.googleusercontent.com\/--3YyhA5zcyE\/Tvo1Ap80SuE\/AAAAAAAAEI0\/nU4TJ4fZq8c\/s160-c\/BestOf2011.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2503,"url":"https:\/\/mcclanahoochie.com\/blog\/2012\/11\/sc12-arrayfire-webcam-demo\/","url_meta":{"origin":1678,"position":5},"title":"SC12 ArrayFire Demos","author":"mcclanahoochie","date":"November 25, 2012","format":false,"excerpt":"I got the\u00a0privilege\u00a0of developing some of the\u00a0Super Computing 2012\u00a0(SC12)\u00a0booth demos\u00a0for\u00a0AccelerEyes,\u00a0to showcase\u00a0ArrayFire. Above is an\u00a0ArrayFire\u00a0demo running at SC12 on an nVidia GPU. This demo (source code HERE) uses OpenCV to capture webcam video and processes the stream in several different ways, in real-time.\u00a0From top-left to bottom-right: Sobel filter, ArrayFire logo, Motion\u2026","rel":"","context":"In \"arrayfire\"","block_context":{"text":"arrayfire","link":"https:\/\/mcclanahoochie.com\/blog\/tag\/arrayfire\/"},"img":{"alt_text":"Sobel filter, ArrayFire logo, Motion (frame differencing), Source image, Histogram plot, Mean-shift filter","src":"https:\/\/i0.wp.com\/lh5.googleusercontent.com\/-5haNiIGwpIk\/UKw-ct6OHDI\/AAAAAAAAMd8\/lxnzbUk44Kc\/s912\/20121114_111339.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/posts\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/comments?post=1678"}],"version-history":[{"count":0,"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/posts\/1678\/revisions"}],"wp:attachment":[{"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/media?parent=1678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/categories?post=1678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mcclanahoochie.com\/blog\/wp-json\/wp\/v2\/tags?post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}