Fix <M-d> in command line mode

Closes #7.