Set cursor change.
Recognize .md files as Markdown.