emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-move-visual never set to nil?


From: David De La Harpe Golden
Subject: Re: line-move-visual never set to nil?
Date: Fri, 01 Aug 2008 01:58:29 +0100
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Lennart Borgman (gmail) wrote:

> And if some lines wrap and others do not?

Well, that's why I find logical lines on up/down/C-p/C-n and
visual lines on other keys nicest - you can just choose the appropriate
movement (within keyboard macros or otherwise).

...

(global-set-key [C-p] 'previous-logical-line)
(global-set-key [C-n] 'next-logical-line)
(global-set-key [up] 'previous-logical-line)
(global-set-key [down] 'next-logical-line)
(global-set-key [M-up] 'previous-line)
(global-set-key [M-down] 'next-line)












reply via email to

[Prev in Thread] Current Thread [Next in Thread]