7b1a83079d
Fix C-j being treated as a prefix in lang/latex
2018-06-05 10:45:26 +02:00
022a64d2e3
rtags is rdm
not rtags
...
silly henrik
2018-06-05 17:40:54 +10:00
3c52c36c2f
lang/cc: general refactor
...
For idempotence and to group dependencies so certain sub-packages (like
irony's) aren't loaded if irony is disabled.
2018-06-05 02:29:44 +02:00
1d9ae834f2
Minor refactors & docstring revision
...
These are not the refactors you are looking for.
2018-06-04 21:17:49 +02:00
84c17b0413
Add docstring to +org-pretty-mode
2018-06-04 21:17:49 +02:00
23bd9d3efa
Add FILE support to +org-get-property & optimize
...
Can now be used to grab properties from remote org files. Also only
reads the first 2048 bytes of the document by default, for performance
reasons.
2018-06-04 21:17:49 +02:00
7493c953fd
Restore gQ -> org-fill-paragraph key in org-mode
...
When gq is insufficient.
2018-06-04 21:17:49 +02:00
8cf407caff
Re-init custom keys after evil-org-set-key-theme
...
evil-org-set-key-theme blanks out evil-org-mode-map, undoing all our
custom keybinds. Using it isn't the correct way to customize evil-org,
but it is understandable people would use it expecting it to be, so
`+org|setup-evil` will now run after it is called.
The "Doom" way to customize evil-org would be to modify the
`evil-org-key-theme` variable, but with this change, either will work.
2018-06-04 21:17:49 +02:00
f7a6089956
Restore vim zr, zR, zm, & zM folding in org-mode
...
For evil users.
2018-06-04 21:17:49 +02:00
b7d619fc8e
Fix objc-mode auto-mode-alist regexp
...
It had no line terminator.
COME WITH ME IF YOU WANT TO LIVE.
2018-06-04 00:12:02 +02:00
7cd97588e6
lang/cc: change default standard to c++1z
2018-06-04 00:11:13 +02:00
e2bf520682
Fix dwim RET keybind in evil org-mode
...
Accidentally removed in 1e81a354
2018-06-03 16:18:02 +02:00
32a2a2b64d
General, minor refactor
...
+ Group hooks with add-hook!
+ Sharpquote elfeed call
+ Extract elfeed buffer detector into function and ensure idempotency of
doom-real-buffer-functions
2018-06-03 15:51:59 +02:00
b81ac61d84
Remove unnecessary markdown-toc def-package! block
...
markdown-toc-generate-toc is autoloaded by the package, so we don't need
to.
2018-06-03 15:50:46 +02:00
1e81a35461
Minimize dependence on map!
...
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).
In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.
This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
3d893ea53e
Update org-format-latex-options when theme changes
2018-06-03 12:23:17 +02:00
f9be8887fb
lang/org: minor refactor/reformatting
...
Also reduce internal use of map! (toward eventual switch to general)
2018-06-03 12:22:39 +02:00
ae86498a41
Tie evil-org/evil-org-agenda to +everywhere flag
2018-06-03 12:20:16 +02:00
da9096acac
Fix evil-org-mode keybinds on first org buffer
...
evil keeps track of auxiliary keymaps. This list is updated when you
switch states, but it _really_ needs to be updated when minor
modes (with keymaps) are toggled. When this isn't done, their keymaps
aren't recognized and their keys will be unavailable at first.
Since there is no global hook for enabling minor modes, we have to
manually add evil-normalize-keymaps to minor mode hooks.
This commit, specifically, fixes evil-org-mode-map. This also indirectly
fixes folding src blocks for evil users (on the first org buffer).
2018-06-03 12:08:33 +02:00
ad5713cd78
add-hook 'nose-mode-hook #'evil-normalize-keymaps
...
Ensures nose-mode-map keybinds work in nose-mode.
2018-06-03 11:21:32 +02:00
bcc01628a3
Remove anaconda-view-mode-map keybinds
...
It, with anaconda-view-mode, have been removed upstream.
2018-06-03 11:20:43 +02:00
2761e8c841
lang/org: switch to hard word wrapping
...
Evil's motions are gimped in soft-wrapped buffers. It also hurts
performance.
2018-06-03 01:38:51 +02:00
29ed19b612
lang/elm: wrap elm-mode config in after! block
2018-06-02 21:42:11 +02:00
385cb476ba
Fix redundant minor mode entries in elisp imenu
2018-06-02 15:22:41 +02:00
e5a4415d58
General, minor reformatting/refactor
2018-06-02 13:58:04 +02:00
c747bc46e3
Optimize lang/qt #642
2018-06-02 02:53:54 +02:00
83232ac9aa
Add basic qt support
2018-06-01 18:23:35 -04:00
cb4b94cc12
Conditionally install anaconda-mode dependencies
2018-06-01 17:14:17 +02:00
48ee4ff71e
lang/markdown: markdown-enable-math = nil
...
Not a common necessity when writing markdown, and slows down modes with
markdown submode regions (like magithub, when initializing issue/PR
bodies).
This is easily toggled with markdown-toggle-math anyway.
2018-06-01 17:08:48 +02:00
fd95bfee07
Fix rspec-mode activation & localleader keybinds
2018-06-01 16:59:25 +02:00
83db654058
Fix anaconda-mode loading late in python-mode #638
...
This would mean anaconda-mode's config wouldn't work until the second
opened python buffer (or invokation of python-mode).
2018-06-01 12:19:11 +02:00
4f4495ca2a
Move ispell-dictionary default to feature/spellcheck #630
...
Makes more sense to be here.
2018-06-01 02:25:38 +02:00
4b0e3af424
Set default ispell-dictionary sooner #630
...
This makes it easier to change and won't override user's customizations.
2018-06-01 02:23:24 +02:00
3bdb3d4e5d
Update uses of associate!
2018-06-01 02:20:00 +02:00
5c8ff3ada3
Fix wrong-type-arg error from #+call() in org-mode #634
...
By rewriting the org babel library lazy-loader.
2018-05-31 17:25:59 +02:00
1f5dae9176
Merge evil-collection-anaconda into lang/python #628
...
This is the first step of removing evil-collection from Doom.
2018-05-31 13:59:21 +02:00
c80baef05d
lang/python: minor refactor
...
company-anaconda is *not* being removed, it just autoloads itself, so we
don't need its def-package! block.
2018-05-31 11:31:32 +02:00
568a6c7e2c
lang/python: remove defunct advice
2018-05-31 11:27:23 +02:00
5948a52a38
Fix jumpy cursor in org tables when using evil-replace
2018-05-30 18:15:58 +02:00
ff3f18ccaf
Use stock ob-ipython instead of fuxialexander's fork
...
By @fuxialexander's request
2018-05-30 18:15:02 +02:00
ebfc5648ef
lang/org: major refactor of +ipython feature
2018-05-30 18:14:48 +02:00
98b439e3bb
Refactor lang/org +babel lazy loader for src blocks
...
Exposes +org-babel-load-functions, which are a list of functions that
will be tried in order to load the dependencies of a src block.
2018-05-30 18:11:12 +02:00
31d34ae5f0
Merge pull request #620 from fuxialexander/ob-ipython
...
lang/org: +ipython
2018-05-30 11:57:14 +02:00
d5d94d0d22
Merge pull request #619 from secondwtq/develop
...
Fix typo in OCaml module.
2018-05-30 11:48:32 +02:00
49f16f681c
lang/org: realign/recalculate tables on exit evil replace mode
2018-05-30 01:45:35 +02:00
acaba8ef3b
lang/latex: fix void-variable TeX-view-program-list error
2018-05-30 00:37:38 +02:00
3b4aca6270
lang/emacs-lisp: refactor macrostep config
2018-05-29 16:00:51 +02:00
947fe345c3
Minor, general refactor
...
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
fbce2388ab
lang/latex: general refactor & load optimization
2018-05-29 14:13:31 +02:00
f2be46d60f
lang/org: only load evil-org-agenda if evil is loaded
2018-05-29 14:13:31 +02:00