Smart Key - Org Mode
bash
When in an Org mode context and hsys-org-enable-smart-keys is non-nil:
ACTION KEY
(1) If on an Org tag, call hsys-org-agenda-tags-p and an
appropriate view tags function based on current directory or
buffer name, matching to the tag. If on a colon between
tags, match to all tags on the line.
(2) If on an Org todo keyword, cycle through the keywords in
that set or if final done keyword, remove it.
(3) If on an Org agenda view item, jump to the item for editing.
(4) Within a radio or internal target or a link to it, jump between
the target and the first link to it, allowing two-way navigation.
(5) Follow other internal links and ID references in Org mode files.
(6) Follow Org mode external links.
(7) When on a Hyperbole button, activate the button.
(8) With point on the :dir path of a code block definition, display the
directory given by the path.
(9) With point on any #+BEGIN_SRC, #+END_SRC, #+RESULTS, #+begin_example
or #+end_example header, execute the code block via the Org mode
standard binding of {C-c C-c}, org-ctrl-c-ctrl-c.
(10) With point on an Org mode heading but not a Hyperbole button, call
the function given by the smart-org-action-key-heading-function
variable, which defaults to doing nothing.
(11) In any other context besides the end of a line, invoke the Org mode
standard binding of {M-RET}, org-meta-return.bash
When the ASSIST KEY is pressed, it behaves just like the Action Key except
in these contexts:
(1) If on an Org tag, call hsys-consult-org-grep-tags-p and an
appropriate consult grep function based on current directory
or buffer name, prompting with and matching to the tag. If on a
colon between tags, prompt and match to all tags on the line.
(2) If on an Org todo keyword, move to the first todo keyword in
the next set, if any.
(3) If on an Org mode link or agenda view item, display Hyperbole
context-sensitive help.
(4) On a Hyperbole button, perform the Assist Key function, generally
showing help for the button.
(5) With point on the :dir value of a code block definition, display
a help summary of this implicit directory button.
(6) With point on any #+BEGIN_SRC, #+END_SRC, #+RESULTS, #+begin_example
or #+end_example header, remove source block results.
(7) With point on an Org mode heading but not a Hyperbole button, call
the function given by the smart-org-assist-key-heading-function
variable, which defaults to doing nothing.Org links may be used outside of Org mode buffers. Such links are handled by the separate implicit button type, org-link-outside-org-mode. Org Roam and Org IDs may be activated as hyperbuttons outside of Org mode buffers. They are handled by the separate implicit button type, org-id.