Answer the question
In order to leave comments, you need to log in
I want to press shift+enter to insert the br tag in Sublime. How?
Still interested in how to wrap the selected text in an h1 tag when pressing ctrl + 1?
Give an example or a link to a manual for creating your own hotkeys?
Answer the question
In order to leave comments, you need to log in
Goodnight.
You can try to override the settings.
By default, if you select text and press shift+cntr+w, the selected text will be wrapped in a tag.
To override this combination - open
and find
{
"keys": ["shift+ctrl+w"],
"command": "insert_snippet",
"args": {
"name": "Packages/XML/long-tag.sublime-snippet"
}
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question