3 ms·
The problem for me is remembering how to create the various dashes on a typical keyboard.
by paul_f 13y ago
The problem for me is remembering how to create the various dashes on a typical keyboard.
- grinnick 13y agoThat'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).
- rebelde 13y agoI 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?
- zokier 13y agoCustom layouts FTW. I have the following line in my layout configuration (Linux/xkb): key <AE11> { [ minus, underscore, endash, emdash ] };
- nucleardog 13y agoThat'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.
- Dylan16807 13y agoIt should be easy to use a meta key to specify you want a menu. I wonder if anyone's made the option.
- rebelde 13y agoMacs 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.
- kps 13y agodefaults write -g ApplePressAndHoldEnabled -bool false
- chrismorgan 13y agoI type Ctrl+Shift+U 2014 Space (U+2014 EM DASH) surprisingly regularly. (That's with Ubuntu.) U+2013 is EN DASH and U+2010 is HYPHEN. Does anyone else find that they know dozens of Unicode code points purely by accident? Other useful ones in that block are U+2018, U+2019, U+201C and U+201D, the left and right (first and third) single and double quotation marks... In the end, though, I really wish everything supported Vim's digraphs. (e.g. Ctrl+K l * produces λ.) I know even more of those than I know numeric codepoints…
- psuter 13y agoI find using the compose key easier than remembering Unicode points. For em dash: `Compose - - -`, for en dash: `Compose - - .`.
- GrinningFool 13y agoDidn't know about C+S+U - thanks!
- jtymes 13y agoThe linked Wikipiedia article has some shortcuts further down: http://en.wikipedia.org/wiki/Dash#Rendering_dashes_on_computers http://en.wikipedia.org/wiki/Dash#Rendering_dashes_on_comput...
- weeksie 13y agoMacs are great for this. Option-hyphen gives you an en-dash and option-shift-hyphen gives you an em-dash.