<p>> cat .xinitrc | grep xmodmap
<ol>
<li>xmodmap to turn caps lock into another shift key</li>
</ol><br />
xmodmap -e “remove Lock = Caps_Lock”
xmodmap -e “remove Shift = Shift_L”
xmodmap -e “keysym Shift_L = Caps_Lock”
xmodmap -e “keysym Caps_Lock = Shift_L”
xmodmap -e “add Lock = Caps_Lock”
xmodmap -e “add Shift = Shift_L”
<p>Why? Because this is damned annoying:</p>
<p>E492: Not an editor command: WQ</p>
<p>Unless of course, you’ve modded your computer to use an <a href="http://www.ahleman.com/ElectriClerk.html">Underwood</a> typewriter as a keyboard.</p>
<p>Similar to this snippet from my .bashrc ;)</p>
<p> <ol>
<li>Silly aliases that actually help</li>
</ol><br />
alias :q!=“exit”
alias :wq=“exit”
alias :q=“exit”