I use Evil mode inside Emacs to emulate vim-style editing. In the Xwindows based graphical user interface of Emacs on Ubuntu 16.04, Evil mode works perfectly.
When I launch emacs in terminal mode with
emacs -nw foobar.cpp ,say I want to save a file with
M-: w then I get the message in the message buffer saying
M-: is not defined
However, the standard C-x C-s method of saving a file works in the terminal. How do I get the
M-: behavior working in Emacs terminal mode as it does in graphical mode?