summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2023-12-06 08:39:39 -0600
committerOmar Antolín <omar.antolin@gmail.com>2023-12-06 08:39:39 -0600
commitb24295ea889420dca1edca10f9c0ab0d293168d3 (patch)
treeea0a7f387adc9112671310cded6a452b07018479
parent4d87456dfecf54c86e820159ad903c0f748813c4 (diff)
Add repeatable bindings for org-{next,previous}-link to org link map
-rw-r--r--embark-org.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/embark-org.el b/embark-org.el
index e59dbfa..aa14e66 100644
--- a/embark-org.el
+++ b/embark-org.el
@@ -351,8 +351,13 @@ bound to i."
:parent embark-general-map
"RET" #'org-open-at-point-global
"'" #'org-insert-link
+ "n" #'org-next-link
+ "p" #'org-previous-link
"w" #'embark-org-link-copy-map)
+(dolist (motion '(org-next-link org-previous-link))
+ (cl-pushnew motion embark-repeat-actions))
+
;; The reason for this is left as an exercise to the reader.
;; Solution: Na ryvfc gnetrg znl cebzcg gur hfre sbe fbzrguvat!
(cl-pushnew 'embark--ignore-target