Don't use M-<left>/<right> in keyboard shortcuts.