In Markdown mode, ST auto expands * to ** at the beginning of a line. How do you disable this behavior?
Markdown editing, auto-text
You mean when the current syntax is Markdown.
This behavior is caused by a package. Maybe Markdown Editing, or Markdown Extended.
I don’t use theses packages for completing markdown (I made my own called fast-markdown), but you might want to have a look at the readme if there is a some setting(s) to disable the keybinding.
pro-tip: use ReadmePlease to open the readme!
copy the keybinding from MarkdownEditing into your User keybindings, and replace the expansion back to a single *
Just as a note, if you type a space after the first *
, MarkdownEditing will add the space and erase the second *
character. So if you’re typing a bulleted list, for example, you can just type it out normally and the right thing will happen.
Thanks. Is there a generic way to find the file that contains the keybindings for each package?
You’re gonna PackageResourceViewer.
Look for
Default.sublime-keymap
Default (Windows).sublime-keymap
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap