{"id":9196,"date":"2020-10-07T15:59:19","date_gmt":"2020-10-07T19:59:19","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9196"},"modified":"2020-10-07T15:59:19","modified_gmt":"2020-10-07T19:59:19","slug":"more-on-emacs-keybindings-in-macos","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9196","title":{"rendered":"More on Emacs Keybindings in macOS"},"content":{"rendered":"<p>Emacs users on macOS are always discovering that the operating system supports many of the Emacs navigation keybindings and share their discovery with a Tweet or reddit post. Of course, it\u2019s much better than that. You can install most of the Emacs editing keybindings into macOS. I <a href=\"http:\/\/irreal.org\/blog\/?p=259\">first wrote about this 9 years ago<\/a> and have periodically repeated the information as more and more folks discover the default Emacs bindings in macOS.<\/p>\n<p>I thought that by now I and others had said everything worth saying about the matter but \u00c1lvaro Ram\u00edrez has <a href=\"http:\/\/xenodium.com\/improved-ctrl-p-ctrl-n-macos-movement\/index.html\">something else interesting to add<\/a>. It turns out the <kbd>Ctrl<\/kbd>+<kbd>n<\/kbd> and <kbd>Ctrl<\/kbd>+<kbd>p<\/kbd> don\u2019t work correctly in macOS system completion lists. Ram\u00edrez has internalized the <kbd>Ctrl<\/kbd>+<kbd>n<\/kbd> and <kbd>Ctrl<\/kbd>+<kbd>p<\/kbd> bindings, especially since they work everywhere else, and was bothered by the failure on completion lists.<\/p>\n<p>Ram\u00edrez found a solution from Atif Afzal. The TL;DR is that he uses <a href=\"https:\/\/github.com\/pqrs-org\/Karabiner-Elements\">Karabiner-Elements<\/a> to map <kbd>Ctrl<\/kbd>+<kbd>n<\/kbd> and <kbd>Ctrl<\/kbd>+<kbd>p<\/kbd> to the down and up arrow keys. Take a look at Ram\u00edrez\u2019s post for the details including the <code>karabiner.json<\/code> to make the mappings. He also includes a configuration to map <kbd>Ctrl<\/kbd>+<kbd>g<\/kbd> to <kbd>Esc<\/kbd>, which he finds to be useful as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Emacs users on macOS are always discovering that the operating system supports many of the Emacs navigation keybindings and share their discovery with a Tweet or reddit post. Of course, it\u2019s much better than that. You can install most of &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9196\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-9196","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9196"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9196\/revisions"}],"predecessor-version":[{"id":9197,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9196\/revisions\/9197"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}