Add short key `Alt+M` and use better way to determine the Markdown file

* Add short key `Alt+M` for preview which works only current view is a markdown file.
* Use the syntax setting instead of file extension to determine the Markdown file, so this works even new file is not saved yet.