<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Keybinding on</title><link>http://salopst.yearl.us/tags/keybinding/</link><description>Recent content in Keybinding on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Tue, 21 Sep 2021 02:22:00 +0100</lastBuildDate><atom:link href="http://salopst.yearl.us/tags/keybinding/index.xml" rel="self" type="application/rss+xml"/><item><title>Customised OS X Keybindings…. with Karabiner.... 'correct' shift keys</title><link>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner-correct-shift-keys/</link><pubDate>Mon, 27 Jul 2015 05:59:42 +0000</pubDate><guid>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner-correct-shift-keys/</guid><description>&lt;p&gt;Like this fellow, &lt;a href="http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#better-shifting"&gt;Steve Losh &amp;ndash; better shifting&lt;/a&gt;, I&amp;rsquo;ve been using the wrong shift keys for upper-case letters for as long as I&amp;rsquo;ve been using a keyboard&amp;hellip; as well as some even more egregious errors (right ring finger for &amp;lsquo;p&amp;rsquo;, right index for &amp;lsquo;b&amp;rsquo;&amp;hellip; the list is nigh endless). Lo, his Karabiner solution:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Arghh!&amp;hellip;.. It has only been a couple of hours and this is devilishly frustrating!!&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-xml" data-lang="xml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; Use the correct shift keys.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; private.correct_shift_keys&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::Q, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::W, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::E, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::R, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::T, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::A, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::S, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::D, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::F, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::G, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::Z, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::X, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::C, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::V, ModifierFlag::SHIFT_L, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::Y, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::U, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::I, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::O, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::P, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::H, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::J, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::K, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::L, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::SEMICOLON, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::N, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::M, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::COMMA, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::DOT, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --KeyToKey-- KeyCode::QUOTE, ModifierFlag::SHIFT_R, KeyCode::VK_NONE&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Customised OS X Keybindings.... with Karabiner</title><link>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner/</link><pubDate>Thu, 23 Jul 2015 11:29:29 +0000</pubDate><guid>http://salopst.yearl.us/customised-os-x-keybindings-with-karabiner/</guid><description>&lt;p&gt;Apparently low-level keybindings in OS X used to be managed through ``~/Library/KeyBindings/DefaultKeyBinding.dict` which did not exist on this 10.10.4 system. So after having created it and added&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;{&#10;/* Context Menu */&#10;&amp;#34;\U0x3fc&amp;#34; = &amp;#34;rightMouseDown:&amp;#34;; /* Fun-C */&#10;&amp;#34;^;&amp;#34; = &amp;#34;rightMouseDown:&amp;#34;; /* Ctrl-; */&#10;&#10;/* Vim movement while Ctrl key down */&#10;&amp;#34;^h&amp;#34; = (&amp;#34;moveLeft:&amp;#34;);&#10;&amp;#34;^j&amp;#34; = (&amp;#34;moveDown:&amp;#34;);&#10;&amp;#34;^k&amp;#34; = (&amp;#34;moveUp:&amp;#34;);&#10;&amp;#34;^l&amp;#34; = (&amp;#34;moveRight:&amp;#34;);&#10;&#10;}&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;it did, of course, not work.&lt;/p&gt;</description></item><item><title>Remapping CAPS LOCK with seil/karabiner</title><link>http://salopst.yearl.us/remapping-caps-lock-with-seil/</link><pubDate>Wed, 22 Jul 2015 04:27:20 +0000</pubDate><guid>http://salopst.yearl.us/remapping-caps-lock-with-seil/</guid><description>&lt;h3 id="for-the-longest-time-i-have-had-caps-lock-set-to-no-action-in-system-preferences--keyboard-modifier-keys"&gt;For the longest time I have had caps lock set to “no action” in System Preferences &amp;raquo; Keyboard&amp;raquo; Modifier Keys:&lt;/h3&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/caps-lock-no-action.png" alt="caps-lock-no-action" class="center" style="border-radius: 50px;" /&gt;&#10;&#10;&#10;&lt;p&gt;But recently I’ve been playing with Vim (and also finally getting around to learning how to touch type) a little more now that I have some time on my hands, and decided that I needed an escape key that wasn’t such a PITA to get to without risking breaking my left pinkie. Enter &lt;a href="https://pqrs.org/osx/karabiner/"&gt;Karibiner&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>