Emacs: Setup Down Arrow Key for Screen Line or Logical Line

By Xah Lee. Date: .

down arrow key move by visual line or logical line

New in emacs 23. [see Emacs 23.1 Features (released 2009-07)]

By default, arrow up/down moves by visual line.

(setq line-move-visual nil)
;; t for true, nil for false
;; 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 Init

Init Basics

Keys

Font

Text Editing

Completion

File

Restore Things

Backup/AutoSave

Line

Appearance

Misc

Advanced Init Tips

packages

ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial