Hacker News new | past | comments | ask | show | jobs | submit login

As an Emacs user: wait, what?



Mark start and end of region you want to move somewhere: "ma <navigat> mb"

Move to where you want to move the text.

"'a,'b mo ."

You can set up to 26 marks, a-z. I usually use a & b for start and end of a move block, and start from the bottom of the alphabet for things I want to refer to later. It's also possible to split the screen. So if I am editing and realise I've got to fix a bunch of instances of something, I'll split the screen (to save my place), then do the edits in the other window, return to the first when done, and close the temporarily created one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: