Commit graph

702 commits

Author SHA1 Message Date
Henrik Lissner
a9763fe76b
Fix vestigial reference to +org-attach/uri 2020-01-02 16:22:52 -05:00
Henrik Lissner
647750c18c
Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
Henrik Lissner
13e2eefae1
Move org-id-locations-file to org-directory
It makes more sense to store this file where you keep your org files,
rather than in Doom's .local files, which could be deleted for
debugging, or local only to a specific machine.

Also make ID links relative to org-directory, in case you use the same
org library on a different system with different filesystem
layout/system of symlinks.
2020-01-02 04:52:30 -05:00
Henrik Lissner
d84df72364
Dumb indent on TAB when in middle of subtree 2020-01-01 21:19:22 -05:00
Henrik Lissner
07823d00a7
Fix yasnippet expansion in org src blocks
This is hacky, and causes weirdness with org-bullets-mode, but it works.
2020-01-01 21:19:22 -05:00
Henrik Lissner
33701ea407
Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
Henrik Lissner
b9f90b3a1a
lang/org: clear src block results on TAB
When cursor is inside a src block. e.g.

  #+BEGIN_SRC elisp  <-- not here
  (message "hi")     <-- in here
  #+END_SRC          <-- not here
2019-12-30 00:07:19 -05:00
Henrik Lissner
db9bc763ef
Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
Henrik Lissner
14cf97e594
lang/org: use org-attach instead of custom system
- 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)
2019-12-29 16:31:25 -05:00
Henrik Lissner
14c87e6943
lang/org: fix some ob packages not loading #2241 2019-12-24 16:40:57 -05:00
Henrik Lissner
5ecf206681
lang/org: remove select-frame-set-input-focus hack
Thanks to 3583e1f2e, this is no longer necessary.
2019-12-22 23:53:04 -05:00
Henrik Lissner
56ccb0dbef
lang/org: load jupyter.el & add jupyter-* to org-src-lang-modes #2198 2019-12-22 00:02:26 -05:00
Henrik Lissner
27cabea6b6
Fix gs in org-mode #2218
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
2019-12-20 13:40:06 -05:00
Henrik Lissner
494e431f04
lang/org: install org-brain
Whoops!
2019-12-20 02:44:20 -05:00
Henrik Lissner
73d975de6c
lang/org: make C-RET create headings instead of error 2019-12-20 02:13:11 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting 2019-12-20 00:59:52 -05:00
Henrik Lissner
9647cb0a49
lang/org: add +brain feature
No keybinding yet.
2019-12-19 18:42:37 -05:00
Henrik Lissner
95e80b00da
lang/org: also require jupyter-* libs w/ ob-jupyter
Relevant to #2198
2019-12-19 18:42:05 -05:00
Henrik Lissner
c81b8445c4
lang/org: activate ob-ammonite on amm blocks
Instead of scala blocks.
2019-12-19 15:04:05 -05:00
Henrik Lissner
bc44ae0beb
lang/org: add ob-ammonite 2019-12-19 14:51:34 -05:00
Henrik Lissner
af948ca390
lang/org: refactor babel loaders & fix jupyter loader #2198 2019-12-19 14:48:13 -05:00
Henrik Lissner
74d4e120c1
lang/org: fix & alphabetize flags in readme & module list 2019-12-18 09:23:21 -05:00
Henrik Lissner
17d0833af1
lang/org: fix jupyter babel loader #2198 2019-12-17 15:28:34 -05:00
Henrik Lissner
e782ef1d97
lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default

Relevant to #2198
2019-12-16 19:25:50 -05:00
Henrik Lissner
3b2a37d9a1
lang/org: noop org-babel-do-load-languages
It's redundant with Doom's lazy loader. Remove
+org-init-babel-lazy-loader-h from org-load-hook if you want to use it.
2019-12-16 17:05:11 -05:00
Henrik Lissner
7fa4e67e39
Minor refactors 2019-12-14 20:42:55 -05:00
Henrik Lissner
5f2e708cd7
Minor refactors and reformatting 2019-12-12 03:48:25 -05:00
Henrik Lissner
f251eb5ba9
Remove recentf-exclude setting
We don't need to be so judicious about what files are included in the
MRU list. If you open a file, any file, it'll be considered a recently
opened file.
2019-12-08 20:14:11 -05:00
Henrik Lissner
c8cfa31a1e
lang/org: add goto-visible & refile-to-visible commands
- 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.
2019-12-06 17:01:58 -05:00
Henrik Lissner
77b0784075
lang/org: add helm support to goto localleader keybinds 2019-12-06 16:59:17 -05:00
Henrik Lissner
6cf17b1237
config/default: rebind 'SPC n {c,C,n,S}'
'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
2019-12-06 13:38:57 -05:00
J Hacksworth
cf02fe5c2e lang/org: Bind org-agenda-show-and-scroll-up
Default Org binds 'SPC' to `org-agenda-show-and-scroll-up`, which
displays the original location of the Agenda item in another window
without moving focus from the Agenda window.

This is useful to preview items while staying in the Agenda window.
Since we can't use 'SPC', bind it to ‘C-SPC’, Doom's canonical "preview"
key for helm and ivy.

See https://orgmode.org/manual/Agenda-commands.html
2019-12-03 11:47:30 -05:00
Henrik Lissner
7cec80e9f1
lang/org: fix #2117 regression 2019-12-02 20:28:55 -05:00
Henrik Lissner
ef4e9b31be
lang/org: org-babel-lisp-eval-fn = sly-eval 2019-12-02 20:22:00 -05:00
Brian Wignall
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
Henrik Lissner
5baa1eb631
lang/org: fix non-prefix-key SPC errors on org-agenda 2019-11-30 14:45:41 -05:00
Henrik Lissner
b0734aa61c
lang/org: fix 'void-function t' error running shell links 2019-11-30 14:06:54 -05:00
Henrik Lissner
19e4c42adc
lang/org: org-tags-column = 0 2019-11-30 14:06:53 -05:00
Henrik Lissner
ae5a18c364
lang/org: respect org-agenda-sticky
And remove remappings of org-agenda-{q,Q}uit to org-agenda-exit
2019-11-30 14:06:53 -05:00
Henrik Lissner
e799022a1e
lang/org: fix 'wrong-number-of-arguments quote 3' error 2019-11-28 21:53:12 -05:00
Henrik Lissner
9bd8904838
lang/org: fix #2119 2019-11-27 23:52:37 -05:00
Henrik Lissner
b33630057d
lang/org: load contrib/journal if +journal 2019-11-27 22:09:55 -05:00
Henrik Lissner
b6a9fcb12b
lang/org: fix #2117 2019-11-27 22:06:19 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Thijs Vermeir
837203a876 lang/org: add support for org-cliplink 2019-11-21 23:26:24 +01:00
Henrik Lissner
cc793f323f
lang/org: add <localleader> l prefix for link keybinds
Moves 'SPC m l' and 'SPC m L' to 'SPC m l l' and 'SPC m l d',
respectively.

Relevant to #2101
2019-11-21 17:16:46 -05:00
Henrik Lissner
30f72da02a
Fix No such file org-version.el errors #2010
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.
2019-11-19 20:29:22 -05:00
Rudi Grinberg
3353727452 Add binding for setting effort
The org-clock-modify-effort-estimate is only useful after we've clocked
in a task.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-15 16:04:01 +09:00
Henrik Lissner
62e6e7d81f
lang/org: fix tests to reflect f70f788df 2019-11-12 16:15:42 -05:00
Henrik Lissner
7879a93081
lang/org: preserve TODO keyword on C-RET
Rather than reverting to first TODO keyword.
2019-11-12 15:24:02 -05:00