Say I have a function
int calc(int that, int this);
I want to mark int that
and then move it right across words by hitting modifier arrow key (or similar) twice to get
int calc(int this, int that);
This is left and right, but I'm also interested in moving lines or selected blocks up and down.
transpose-paragraphs
will do the job. Bind it to a key. You can useM--
to move it backward.