Commit Graph

830 Commits

Author SHA1 Message Date
8889d5cc2b Add :lang common-lisp 2018-06-13 20:10:37 +02:00
6dc413c044 Remove :latex-bibtex-{file,dir} settings
Setting a single variable is preferrable to using a setting to abstract
it.
2018-06-12 21:07:34 +02:00
f70c9ebb71 Fix void-symbol errors in compilation buffers
Occurs when :lang ruby is enabled, because the rspec-mode package
autoloads an advice, but not the advice function. Still, it seems silly
to do this advice before the package is loaded, so we disable it.
2018-06-11 14:21:35 +02:00
2fa95218cb Merge pull request #652 from Emiller88/feature/conda
Add +conda
2018-06-10 22:30:47 +02:00
8dd0df453f Merge pull request #667 from UndeadKernel/fix-latex_default-item-indent
Better looking default indentation for nested latex lists
2018-06-10 22:28:08 +02:00
ef154ac033 Merge pull request #672 from mdssjc/clojure-hook-fixed
Clojure hook fixed
2018-06-10 22:26:36 +02:00
1afc5965df add-hook! -> add-hook for one-to-one hook 2018-06-10 22:25:29 +02:00
f387be61e5 Merge pull request #675 from ethercflow/develop
lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/
2018-06-10 21:57:50 +02:00
7f31704815 Minor reformatting of org-agenda config 2018-06-10 17:28:17 +02:00
9bd5cb862d Don't set org-agenda-files by default
Leave this to the user
2018-06-10 17:28:17 +02:00
Zwb
3ccd459ddb lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/ 2018-06-10 22:33:26 +08:00
ad5afa1ab2 Fix the hook variable 2018-06-09 13:26:36 -03:00
dfa955dd2c Better looking default indentation for nested latex lists 2018-06-08 16:10:00 +02:00
56b4cba964 Fix solium error preventing solidity-mode #659
Now conditionally activates flycheckers using the existence of their
binaries at load time.
2018-06-08 13:08:37 +02:00
363407d9e6 Fix C-g resetting latex windows after opening the reftex-toc 2018-06-07 13:53:13 +02:00
1d6d11e803 add meta doc 2018-06-07 01:12:03 +08:00
732c2979c4 Naming convention and add docs; Avoid conflicting pyenv. 2018-06-07 01:08:49 +08:00
fada449bd4 Get rid of a stray + 2018-06-05 18:02:46 -05:00
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
686d102ee7 Add conda 2018-06-04 18:42:15 -05: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