Re:Org Mode for Emacs – Your Life in Plain Text
by malloryerik on Wednesday March 30, 2016 @08:53AM
(#11388855)
I actually use empty shift for parens, so comfy I almost feel guilty about it...
[ Parent
| on HN ]
Re:Org Mode for Emacs – Your Life in Plain Text
by disease on Wednesday March 30, 2016 @11:07AM
(#11389798)
Figured it out myself. Couldn't find a way to map single presses of the Shift key in emacs, but I was able to do this using AutoHotKey in Windows:
LShift UP::Send, ( RShift UP::Send, ) LShift & F13:: RShift & F13::
As a Clojure and JavaScript dev I think I am going to like this mapping quite a bit, so thanks for the tip!
Re:Org Mode for Emacs – Your Life in Plain Text
by disease on Wednesday March 30, 2016 @10:46AM
(#11389631)
That sounds like something I'd like to try. Mind sharing the code from your init file that does this - assuming you are doing this in Emacs?
Re:Org Mode for Emacs – Your Life in Plain Text
by malloryerik on Thursday March 31, 2016 @01:18AM
(#11395148)
For this remapping and a few others I'm using Karabiner for OSX. I remap elisp commands in emacs all the time, but I don't know how to remap the keybinding for the single SHIFT to parens. The answer might be here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Ch...
Karabiner is pretty good though, and you can select certain keybindings to only work in emacs.
I've also remapped CONTROL to CAPS LOCK, a more common re-binding to save one's left-hand from endless torture and mutilation!
Karabiner https://pqrs.org/osx/karabiner/index.html.en On GitHub https://github.com/tekezo/Karabiner
It's also pretty simple to extend Karabiner with XML scripts.