chiark / gitweb /
dot/emacs: Move the cursor properly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 14:00:21 +0000 (15:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 14:00:21 +0000 (15:00 +0100)
commit3b361ad218cb4463349c91f10117c29972b8a24c
treeba41fe5814b8a10e81d16a8f3b17849677bdd714
parentee9bdab18aab51148aa8deede892476d1989ad7b
dot/emacs: Move the cursor properly.

Vertical motion is by visual lines, because this allows more
fine-grained motion -- and not for any deep philosophical reason,
because the arguments from principle are all in favour of motion by
logical lines.

Move the cursor visually horizontally when the cursor keys are pressed,
but in buffer order when the traditional C-b/C-f keys are used.  This
makes most sense to me when I'm trying to edit mixed-direction text.  It
probably won't suit anyone else.
dot/emacs