News for hackers. Stuff that matters.
Re:On dashes, hyphens, and other important aspects of life. by grinnick on Wednesday September 25, 2013 @09:13AM (#6444312)
That's was I was wondering. How do I write an Em dash on a keyboard? I've always just used a hyphen for this (but I'd like to do it right).
Re:On dashes, hyphens, and other important aspects of life. by rebelde on Wednesday September 25, 2013 @09:33AM (#6444432)
I have used MS's Keyboard Layout Creator to add those — and many others — to my keyboard. Right-alt-minus for en–dash and shift-right-alt-minus for em—dash.

What I really want is for my keyboard to act like my mobile phone keyboard — a long press to see similar characters. Anybody care to code it?

Re:On dashes, hyphens, and other important aspects of life. by zokier on Wednesday September 25, 2013 @09:38AM (#6444457)
Custom layouts FTW. I have the following line in my layout configuration (Linux/xkb):

    key <AE11> { [  minus,          underscore,     endash,         emdash          ] };
Re:On dashes, hyphens, and other important aspects of life. by nucleardog on Wednesday September 25, 2013 @09:53AM (#6444546)
That's what my Macbook does. It actually drives me crazy because you lose key repeat. You have to furiously mash keys in vim, no holding them down.
Re:On dashes, hyphens, and other important aspects of life. by rebelde on Wednesday September 25, 2013 @10:44AM (#6444861)
Macs do that??? I'm surprised that I never discovered it on the wife's Mac. I deal with other languages so much, this might be the one thing that tips me toward using one.
Re:On dashes, hyphens, and other important aspects of life. by kps on Wednesday September 25, 2013 @10:50AM (#6444910)

    defaults write -g ApplePressAndHoldEnabled -bool false
Re:On dashes, hyphens, and other important aspects of life. by Dylan16807 on Wednesday September 25, 2013 @10:17AM (#6444691)
It should be easy to use a meta key to specify you want a menu. I wonder if anyone's made the option.