Tip:
Highlight text to annotate it
X
Well I'll show you a little Emacs feature,
in a quickly way.
Let's suppose that we're writting something in C++.
So we start with something like this.
Basically I want to show you a couple of commands.
One, is called forward-sexp, well I don't know how to pronounce it.
Which advances through expressions.
You can see that I'm at the beginning of the parenthesis, I set the mark,
I can advance, copy it, paste it.
I can do strange things like... this
I can copy this.
I can cut the whole thing
And I paste it.
Or basically I can cut the whole code block.
Also I can go to the beginning of a function, or to the end of a function.
Those are very important commands on Emacs.
beginning-of-defun
I go to the beginning of a function.
If I've another function, I can go to the end of one function,
or at the beginning of each function.
I can cut a function,
send it to another place.
Or just do things like that... forward declarations.
Well, you can do a lot of things.