Add cmap for command-line mode