Emacs Init: Arrow Key for Screen Line or Logical Line
Up/down arrow key move by visual line or logical line
New in Emacs 23 (Released 2009-07)
By default, arrow up/down moves by visual line.
;; up/down arrow move based on logical lines (newline char) or visual line (setq line-move-visual nil) ;; default is t
Arrow Up/Down Scrolls Screen
Alt+x scroll-lock-mode
. When on, up/down arrow keys scroll the page, instead of moving the cursor.
This only turns it on in current buffer. There is no global setting.
Emacs Lines, Column, Cursor Position
Soft-Wrap Lines
Reformat Lines (Hard-Wrap)
- Emacs: Hard-Wrap Lines (fill-paragraph)
- Emacs: Reformat to Long Lines (unfill-paragraph) 🚀
- Emacs: Reformat Lines for Source Code 🚀