Commit graph

908 commits

Author SHA1 Message Date
Henrik Lissner
558e906b2b
Add 'SPC m r f' for refiling to specific org file 2020-01-09 15:59:58 -05:00
Edmund Miller
90096239af
fix: use org-capture-projects-file 2020-01-07 16:06:51 -06:00
Henrik Lissner
b7c5152f3a
lang/org: C-M-RET = org-insert-subheading 2020-01-06 16:21:22 -05:00
Henrik Lissner
14552bc66b
Fontify latex script & entities in org-mode 2020-01-05 21:17:34 -05:00
Henrik Lissner
cd3f1399af
Fontify latex blocks natively 2020-01-05 19:08:11 -05:00
Henrik Lissner
ee4358a243
Simplify org-format-latex-options setting
Due to changes upstream, all that isn't necessary anymore.
2020-01-05 17:47:29 -05:00
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