I've switched from emacs to spacemacs, but my muscle memory still uses the standard emacs keybindings -- despite attempts at avoiding key chords. As an example, to save a file, I continue to use Ctrl
x
s
instead of SPC
f
s
.
What I'd like is a function that would provide a modeline prompt for keystrokes that I'm trying to avoid.
"Ctrl
x
s
deprecated. Use instead: SPC
f
s
"
Update: I used the function that muffinmad supplied with a minor tweak. For some tasks my attention isn't focused on the modeline, so an additional audio alert helps:
(play-sound-file "oops.wav")