The %
command is quite nice, and I use it to copy/delete whole loops, functions and classes.
In c++ though, you need to add a ;
after your class declaration, so trying to motion over a whole class won't work with the %
command.
Is there a way to get the command to carry on the motion? I guess just adding a f;
will be enough, but I'm not sure how.