Correctly handling Cmd-backtick

Fix #432