S
S
Span4ev2021-08-22 13:32:15
Sublime Text
Span4ev, 2021-08-22 13:32:15

How to put em dash and book quotes in Sublime Text 3?

Hello. I never googled how to put em dashes in a sublime. For now, I copy the dashes in another place, select all the short dashes in the text that are placed in the sublime by default, and replace them with long ones, and then, as I write, I copy-paste the em dash in the right place. Maybe there is some modern way in prefernces ? I'm not good with English, and it's not clear how to be able to use both an em dash and a hyphen. In VK in the article editor, a regular hyphen is put, but after pressing the space after placing the hyphen, it is converted to an em dash - great. Is there such a feature in sublime? I love Sublime very much and I write everything exclusively in it, and the Word is nauseating for me =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas V, 2021-08-24
@Span4ev

Go to the sublime settings and open the keybindings. Preferences → Key Bindings. A window will open divided into two parts, on the left - default hotkeys, on the right - custom. Accordingly, the following entry should be inserted on the right side:

{"keys": ["alt+shift+-"], "command": "insert_snippet", "args": {"contents": "–"}}

And save, for example, by pressing ctrl+s , after which the hotkey window can be closed, and an em dash will be inserted by pressing alt+shift+-

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question