summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-11-05 00:15:07 -0800
committerBlendoit <blendoit@gmail.com>2020-11-05 00:15:07 -0800
commit04c6b14da4e55797bf70918a2e61be826bfa8f7a (patch)
treeba3efee25ab6bbf5090e1b7b4d7b753ae02a7121
parent879dd8a6bf872f79745f7706a4981b035ec1875a (diff)
Movement keys.
-rw-r--r--smart-documents.org27
1 files changed, 26 insertions, 1 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 00fe337..a7061bc 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -446,9 +446,34 @@ It seems that starting with Emacs 27.1, Control + mousewheel works.
(global-set-key (kbd "C-+") 'text-scale-increase)
#+END_SRC
-
** Navigation
+=Alt= (=Meta=) is the privileged key for motion in a buffer. It precedes a
+numerical argument, and a movement command. You may navigate in a buffer by
+keeping =Alt= pressed, optionally inputting a number from the keypad or number
+row, then pressing any of the following movement keys: =j=, =k=, =h=, and
+=l=. You will move in that direction by the according numerical argument.
+
+#+NAME: keybinding-navigation
+#+CAPTION[Navigation keybindings]: Navigation keybindings.
+#+ATTR_LATEX: :booktabs t
+| | *Backwards* | *Forwards* |
+|-----------+-------------+------------|
+| Character | =M-h= | =M-l= |
+| Line | =M-k= | =M-j= |
+| Word | =M-f= | =M-b= |
+| Paragraph | =M-a= | =M-e= |
+
+
+We prevent Org mode from overriding preferred navigation keys.
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+(local-unset-key (kbd "M-j"))
+(local-unset-key (kbd "M-k"))
+(local-unset-key (kbd "M-l"))
+(local-unset-key (kbd "M-h"))
+#+END_SRC
+
*** Move down one line
#+BEGIN_SRC emacs-lisp :tangle yes
Copyright 2019--2024 Marius PETER