Commit graph

187 commits

Author SHA1 Message Date
Henrik Lissner
28f221ed9c
lang/org: fix backtab (rebound by evil-collection-org) 2018-03-25 17:19:22 -04:00
Henrik Lissner
5eba949550
lang/org: delete-char backward in org|delete-backward-char #472 2018-03-23 15:19:44 -04:00
Henrik Lissner
0dd2df5a86
lang/org: doom-init-theme-hook => doom-load-theme-hook 2018-03-22 19:56:53 -04:00
Henrik Lissner
fbb16b4c5e
lang/org: fix ^/0 motion keys
^ = now goes to the beginning of current visual line
0 = goes to the true beginning of the line
2018-03-22 14:54:59 -04:00
Henrik Lissner
1b9c5befb4
lang/org: refactor +org|realign-table-maybe 2018-03-22 14:41:48 -04:00
Henrik Lissner
48f5811e0d
lang/org: fix void-variable error upon backspace in tables #472 2018-03-22 14:41:27 -04:00
Henrik Lissner
e89ed0e9ae
lang/org: handle edge cases case for attachments
+ If org file isn't in +org-dir, use an absolute path to attachment
+ If org file doesn't eixst/hasn't been saved, use default-directory
2018-03-22 08:26:22 -04:00
Henrik Lissner
ae031928af
lang/org: fix attachments getting double-url-encoded when exported 2018-03-22 08:14:03 -04:00
Henrik Lissner
318f51cfff
lang/org: report deleted files after +org-attach/sync 2018-03-22 08:13:46 -04:00
Henrik Lissner
68fed155ad
lang/org: minor refactor 2018-03-22 08:13:23 -04:00
Henrik Lissner
747a334d54
lang/org: add completion + highlighting for attach:%s links 2018-03-22 07:31:36 -04:00
Henrik Lissner
80aa086680
APPEASE THE GREAT BYTE-COMPILER-SAMA 2018-03-20 21:20:45 -04:00
Henrik Lissner
e929f831f6
lang/org: fix default TAB behavior for non-evil org users 2018-03-20 16:46:41 -04:00
Henrik Lissner
85e443cca1
lang/org: minor refactor of +org|remove-occur-highlights ESC hook 2018-03-18 02:38:41 -04:00
Henrik Lissner
0260d60dd0
lang/org: fix kill-confirm prompt when refiling from org-capture #462 2018-03-15 22:45:07 -04:00
Henrik Lissner
efdcb01c19
lang/org: change default +org-dir to ~/org 2018-03-14 18:49:26 -04:00
Henrik Lissner
c0e5152b8f
lang/org: replace +org-capture/open with org-capture 2018-03-14 17:25:25 -04:00
Henrik Lissner
8d11682e99
lang/org: make doom/delete-backward-char respect tables #457
With or without evil.
2018-03-12 17:09:36 -04:00
Henrik Lissner
88d3e91ee4
lang/org: highlight broken file: links with error face 2018-03-12 13:32:01 -04:00
Henrik Lissner
62025c8107
lang/org: indent continued org-list lines more consistently
Before:

+ abcdefghi :: User can set *any* parameters of ivy-posframe with the help of
               `ivy-posframe-parameters'.
+ xyz :: When non-nil, ivy-posframe will ignore prompt. This variable is useful
         for `ivy-posframe-read-action'.

After

+ abcdefghi :: User can set *any* parameters of ivy-posframe with the help of
     `ivy-posframe-parameters'.
+ xyz :: When non-nil, ivy-posframe will ignore prompt. This variable is useful
     for `ivy-posframe-read-action'.
2018-03-12 13:32:01 -04:00
Henrik Lissner
4f0dc72962
lang/org: fix smartparens autopairing in org-mode 2018-03-12 13:32:01 -04:00
Henrik Lissner
8976d1ad5a
lang/org: fix org/insert-item in continued indented lines 2018-03-12 13:32:01 -04:00
Henrik Lissner
d563d133ff
lang/org: fix evil coupling #457
And use fix backspace not keeping tables aligned.
2018-03-12 13:32:00 -04:00
Henrik Lissner
839fc940f0
lang/org: remove <f8> keybind for +org-present/start
Moved it to SPC t p
2018-03-06 18:41:31 -05:00
Henrik Lissner
fa6459bb00
lang/org: improve footnote support for +org/dwim-at-point 2018-03-06 18:39:34 -05:00
Henrik Lissner
5c9ef4ee38
Replace doom-hide-modeline-mode w/ hide-mode-line-mode #423 2018-03-02 19:14:44 -05:00
Henrik Lissner
c595fe2eb8
lang/org: don't auto-kill agenda buffers #429
There is always doom/cleanup-session or :cleanup as an alternative.
2018-02-28 17:57:30 -05:00
Henrik Lissner
d9d4b6afd5
lang/org: hlissner/org-bullets => Kaligule/org-bullets 2018-02-22 04:23:06 -05:00
Henrik Lissner
7db767957e
lang/org: fix C-a/C-e in org-mode 2018-02-19 20:24:57 -05:00
Henrik Lissner
f6d572c9fe
lang/org: fix void-symbol value error 2018-02-18 14:08:19 -05:00
Henrik Lissner
e50d8b8733
lang/org: add +org-attach/sync (attachment management)
lang/org now supports the attach:* link abbreviation. Running
+org/attach-sync will index all such links across org files in +org-dir
and delete any files in org-attach-directory that aren't referenced.

TODO: have a separate directory for attach:* attachments and vanilla
attachments?
2018-02-18 04:30:54 -05:00
Henrik Lissner
be94fc4d91
lang/org: remove unused evil autoloads 2018-02-18 03:07:57 -05:00
Henrik Lissner
a01320deeb
lang/org: redo evil integration; add evil-org package
lang/org has now adopted much of evil-org, which introduces better evil
integration for org-mode. More testing is required.
2018-02-18 00:32:12 -05:00
Henrik Lissner
0b2a61593e
lang/org: reformat whitespace in test/autoload-org.el 2018-02-17 23:22:50 -05:00
Henrik Lissner
aafa45e271
lang/org: fix insert-item tests; refactor +org/insert-item 2018-02-17 22:41:58 -05:00
Henrik Lissner
e770d5ccf2
lang/org: remove ob-redis package #368
It has been merged into org's contrib/, and is no longer on MELPA.
2018-02-17 19:28:11 -05:00
Henrik Lissner
0c459cfefd
lang/org: make backspace org-mode aware
This ensures backspace respects tables and doesn't break whitespace in
table cells.
2018-02-17 03:40:40 -05:00
Henrik Lissner
2b1c323dbf
💥 Redesign private sub-module system
~/.doom.d/modules is now a full module tree, like ~/.emacs.d/modules.
Symlinks are no longer involved.

Private modules can now shadow Doom modules. e.g.
~/.doom.d/modules/lang/org will take precendence over
~/.emacs.d/modules/lang/org.

Also, made doom--*-load-path variables public (e.g. doom--site-load-path
=> doom-site-load-path), and rearranged the load-path for a 10-15%
startup boost.
2018-02-16 02:11:10 -05:00
Henrik Lissner
4321f20b3e
Appease byte-compiler-sama 2018-02-14 20:54:53 -05:00
Henrik Lissner
e79942de2e
lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
2018-02-13 19:41:09 -05:00
Henrik Lissner
5b92c3d99f
lang/org: add evil insert check to +org|indent-maybe 2018-02-13 18:33:36 -05:00
Henrik Lissner
7b70aa9b7d
lang/org: reorganize autoload/org.el. Pedantry intensifies.
Library is now separated into alphabetically sorted sections. So nice
and neat!
2018-02-13 18:19:36 -05:00
Henrik Lissner
d84af58f77
lang/org: refactor tab/backtab/ret keybinds to be less intrusive
Turns out the native TAB/Backtab/RET functionality in org already does
what I've replaced them with (somewhat).

Also, I discovered that the canonical way to modify TAB behavior was
through org-tab-first-hook. So, instead of replacing native
functionality, I've rewritten these keybinds to leverage them.
2018-02-13 18:12:40 -05:00
Henrik Lissner
9b76627ee0
lang/org: do org-try-structure-completion on TAB #417 2018-02-12 23:19:51 -05:00
Henrik Lissner
cf75e203b6
lang/org: add ob-crystal 2018-02-11 02:57:46 -05:00
Henrik Lissner
a43b88b18a
lang/org: refresh inline images when pressing RET on headlines 2018-02-10 02:15:23 -05:00
Henrik Lissner
04a04b2535
lang/org: remove vestigial +org-attach*link-format function 2018-02-10 02:14:57 -05:00
Henrik Lissner
39f519cdb8
lang/org: use link abbrev for relative image attachment paths 2018-02-10 02:14:57 -05:00
Henrik Lissner
0d04afa63a
lang/org: don't complain about missing ob-X upon running src blocks 2018-02-09 23:24:37 -05:00
Henrik Lissner
69dc25ae4c
lang/org: fix external org-capture workflow
+ Fix frame-spawning when calling bin/org-capture
+ Integrate counsel-org-capture into bin/org-capture workflow
+ Ensure frame is closed if counsel-org-capture is cancelled
+ Ensure org-capture buffer closes the associated frame
+ Add transient frame property for org-capture frames

If you are using a tiling window manager, you'll need to add a rule for
a window named "org-capture" in order to make a floating window.
2018-02-07 01:08:33 -05:00