Fixes the following keybinds for evil users:
z r open next level of headings buffer-wide
z m close next level of headings buffer-wide
z R open all folded headings
z M close all folded headings
[N] z R open all headings at level N and above
[N] z M close all headings at level N and below
This is too opinionated to be a default, and has thus been replaced with
"unfold subtree around point when opening an org file", in case
saveplace has restored the point to a folded region.
+ Cut down on unnecessary code & advice
+ Fix 'attach and 'download methods for org-download so that a) their
links actually work and b) inline previews of their links show up.
+ Allow users to only set org-attach-id-dir (which will be mirrored to
org-download-image-dir, unless the user has changed it).
+ Prevent a few edge cases where org-attach-id-dir or
org-download-image-dir were blank.
This should fix a few issues with links (like org-download links)
resolving to the incorrect org-directory or org-id-attach-dir (because
it's resolved too early).
I've also simplified and refactored the API to make it easier to grok.
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
attached)
- org-attach-use-inheritance = t (inherit attachment properties from
parent nodes)
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.
Also fixes +org/goto-visible if used before avy is loaded.
Relevant to #1672
- Bind 'gsh' to goto-visible command in org-mode
- Bind '<localleader> g v' to goto-visible
- Bind '<localleader> r v' to refile-to-visible
- Add avy package to lang/org module
Powered by avy.
'SPC n c' -> Toggle last org clock
'SPC n C' -> Cancel current org clock
'SPC n n' -> org-capture
'SPC n S' -> Search org-directory headings
Closes#2043
We generate an org-version.el file, rendering our old org-release hacks
unnecessary. This may cause breakages for uses who do deep clones of
org-plus-contrib; needs testing.