Like in all modern editors, including the SE Q&A fields, I'd like my cursor to move to the beginning of the first line, when I press the Up
arrow on the first line of a buffer. Currently, it stays in the middle of the line and messages "Beginning of buffer".
How can I get that behavior ?
(Bonus points for the same thing with Down arrow at end of buffer.)