how to shortcut to em dash
would anyone be so kind to teach me haw to set a shortcut to type em dashes like e.g. [CTRL]+[-] OR [CTRL]+[SHIFT]+[-] I mean, something that does not break the workflow and let me feel comfortable when writing some short stories. I know :---: does the thing, but oh! five shots for just one character... Or [compose key] + ---. The same four shots for a single character. Or -- [space] + [backspace] (auto correct way) Again: four keys to one character (I don't want a space between the dash and the word). Those options are not comfortable.
I just would like to use writer to write.
I tried to set up a macro but i couldn't. I am not smart enough. But shure there is a better and easier way. I use Libreoffice 6.0 and I find it great.
I use MX Linux 17 (Debian 9 base)
In Linux, you can (relatively) easily modify your keyboard layouts to your needs and to hook em-dash to, say, AltGr + -. Read this topic (in Russian).
One more comment:
You can create an autocorrect entry with, say,
:--:
in Replace and—
in With. Well, just two strokes.Thank you gabix, I think I will need to learn to modifiy the keyboard through the os. And I did not understand your second suggestion.
See RGB-es’s more detailed answer, I meant the same thing. If you follow it, you’ll be able to get
A—B
simply typingA--B
.