Fork me on GitHub
#emacs
<
2016-04-19
>
ddellacosta16:04:38

soooo just finally upgraded from an ancient version of cider and realized that I can no longer use C-c M-o to clear the buffer. Is there a replacement mapping for cider-repl-clear-buffer?

ddellacosta16:04:49

and, when/why was this changed?

malabarba16:04:32

I believe it's C-c C-o to clear most recent output. And with a prefix it clears everything.

ddellacosta16:04:47

@malabarba: thanks I tried this but it didn’t work for me—I think I don’t understand what “with a prefix” means, can you explain?

ddellacosta17:04:14

That works @malabarba, thanks—but what is “C-u”? I guess I must have missed the explanation of what prefix is somewhere along the line.

ddellacosta17:04:48

ah, found it…I’ve been ignorant of this all these years! http://stackoverflow.com/a/32683644

malabarba19:04:28

A lot of functions throughout emacs behave differently with a prefix argument

malabarba19:04:32

C-u is the universal prefix

malabarba19:04:57

There are also numerical prefixes with C-1, C-2, etc

malabarba19:04:20

If you google it you'll probably gfind a lot about it on the emacs manual