Commit graph

866 commits

Author SHA1 Message Date
Henrik Lissner
818cb27724
Refactor feature/file-templates
This removes its dependency on the feature/snippets.
2018-06-03 23:43:27 +02:00
Henrik Lissner
48fdc8a5b5
feature/evil: fix missing keymap in key def 2018-06-03 18:11:49 +02:00
Henrik Lissner
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
Henrik Lissner
de014a817b Move :lookup setting to autoload.el 2018-06-02 18:20:09 +02:00
Henrik Lissner
43152d774f
Fix commented out :config causing errors
Semicolons, what have you done?
2018-06-01 16:32:38 +02:00
Henrik Lissner
553867bf61
Remove evil-collection-helm hack (it's disabled) 2018-06-01 16:20:11 +02:00
Henrik Lissner
dc2dad0af3
Disable evil-collection-ruby-mode
May indirectly fix broken :localleader keybinds on ruby-mode-map
2018-06-01 16:19:49 +02:00
Henrik Lissner
002f514b22
Minor refactor of evil-mc->smartparens integration 2018-06-01 13:40:48 +02:00
Henrik Lissner
3c967cf3a3
Resume evil-mc upon switching to insert mode #618
I believe this is intuitive, but I've designed it to be easily disabled
with:

  (remove-hook 'evil-insert-state-entry-hook #'+evil-mc|resume-cursors)
2018-06-01 13:40:47 +02:00
Henrik Lissner
4f4495ca2a
Move ispell-dictionary default to feature/spellcheck #630
Makes more sense to be here.
2018-06-01 02:25:38 +02:00
Aria
c2e2c4c11e
Fix git-link not loading on SPC-g-I from fresh emacs start 2018-05-31 23:39:17 +10:00
Henrik Lissner
9b3decaaa1
Merge evil-collection-helm into completion/helm 2018-05-31 13:59:21 +02:00
Henrik Lissner
601c9a654e
Merge evil-collection-dired into emacs/dired 2018-05-31 13:59:21 +02:00
Henrik Lissner
183ccbb8f1
Merge evil-collection-ivy into completion/ivy
Disables evil-collection-ivy. Another step toward the removal of
evil-collection from Doom.
2018-05-31 13:59:21 +02:00
Henrik Lissner
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
Henrik Lissner
d443a9d2dd
Respect git-commit style/length conventions
See https://chris.beams.io/posts/git-commit/
2018-05-30 19:16:22 +02:00
Henrik Lissner
c63cd0a688
feature/spellcheck: minor refactor 2018-05-30 01:44:56 +02:00
Henrik Lissner
b4ebb2abca
feature/evil: remove ; evil-snipe alias 2018-05-30 01:38:36 +02:00
Henrik Lissner
05c098234c
Update git-gutter on magit-{un,}stage{file,} commands 2018-05-29 17:52:26 +02:00
Henrik Lissner
7a61615666 Disable evil-snipe in Info-mode 2018-05-29 15:47:17 +02:00
Henrik Lissner
05c8daf24a Support non-symbol entries in +evil-collection-disabled-list 2018-05-29 15:35:20 +02:00
Henrik Lissner
947fe345c3
Minor, general refactor
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
Henrik Lissner
28c13c230f
Temporary fix for with-helm-buffer error caused by evil-collection-helm 2018-05-29 02:09:35 +02:00
Henrik Lissner
a018bc75f6
feature/evil: add +evil-collection-disabled-list
Use this list to disable certain features of evil-collection. It should
be set before evil-collection is loaded (which shouldn't be until after
doom has fully loaded).
2018-05-29 02:08:34 +02:00
Henrik Lissner
e2979e5b82
Fix +workspace/delete when one workspace is left 2018-05-29 00:42:33 +02:00
Henrik Lissner
edc09ecab8
Make evil-mc cooperate with smartparens better 2018-05-28 17:33:52 +02:00
Henrik Lissner
3b85720c9c
Fix incorrect uses of add-to-list 2018-05-28 12:26:03 +02:00
Henrik Lissner
e5efd3b673
feature/evil: don't change save behavior in noninteractive emacs 2018-05-27 12:52:28 +02:00
Henrik Lissner
1a452b6842
💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause
void-variable errors now) to save on unnecessary interning and simplify
compile-time logic. It accepts any valid form that evaluates to a string
now.

If you use load!, you need to change its argument to a string!

e.g. (load! +my-module) => (load! "+my-module")
2018-05-27 12:52:28 +02:00
Henrik Lissner
bdee28609a
New emacs/ediff module
Ediff config was moved out of core. Also includes evil compatibility
(mvoed out of feature/evil) & wconf save/restore.
2018-05-27 12:52:28 +02:00
Henrik Lissner
0c0276378f
feature/evil: add evil-ediff 2018-05-27 11:41:16 +02:00
Henrik Lissner
06915312dd
Update git-gutter on doom//escape, even for non-evil users 2018-05-26 23:28:36 +02:00
Henrik Lissner
d7f7efaa97
git-commit-fill-column = 72 2018-05-26 23:27:18 +02:00
Henrik Lissner
f9bcd2aff3
feature/evil: don't revert to initial state on window switch
The issue this "fixes" wasn't really an issue to begin with.
2018-05-26 21:09:10 +02:00
Henrik Lissner
dc86b61704
Fix vcs/git-browse* commands #616
Caused by upstream changes to git-link, where `git-link--remote-host' was
removed.
2018-05-26 11:13:21 +02:00
Henrik Lissner
becc79089e
feature/lookup: fix void-function xref-backend-identifier-at-point error 2018-05-25 19:22:44 +02:00
Henrik Lissner
4771c047c6
Merge pull request #601 from jcf/fix-workspace-load
Fix use of +workspaces-data-file in +workspace/load
2018-05-25 15:37:19 +02:00
Henrik Lissner
d7d9da2210
Appease byte-compiler san kun chan sama sensei de gozaru 2018-05-25 11:55:57 +02:00
Henrik Lissner
9011593e38
feature/workspaces: fix tests 2018-05-25 00:50:52 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
e8653d0628
feature/file-templates: revise doom module README.org file template 2018-05-24 22:34:37 +02:00
Henrik Lissner
b806ff937c
feature/file-templates: rewrite & fix wrong-number-of-args errors #602 2018-05-24 22:34:37 +02:00
Henrik Lissner
0b48575c14
Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
Henrik Lissner
f058505306
New bin/doom (eventual replacement for make)
This commit adds bin/doom, which acts as the middle man that make once
was (and will stay for a while, though the documentation will shift away
from using it). It does everything the previous make interface did, but
is faster and more flexible. bin/doom should eventually replace the
makefile.

bin/doom also makes it easier to run Doom outside of ~/.emacs.d and
~/.doom.d with, for example:

  bin/doom run -p ~/.other.doom.d/ -e ~/.other.emacs.d

bin/doom.cmd is included for Windows users, but I don't recommend using
it yet. It hasn't been tested nor have I ever written a batch script
before.

Also update init.example.el with new defaults.
2018-05-21 01:38:17 +02:00
James Conroy-Finn
217ff2cd54 Fix use of +workspaces-data-file in +workspace/load 2018-05-19 15:02:54 +01:00
Henrik Lissner
5abdeed8fd
feature/file-templates: rewrite without autoinsert
autoinsert was more trouble than it was worth, so I reinvented a better
wheel.
2018-05-18 01:47:03 +02:00
Henrik Lissner
80adb9c1f6
General refactor for consistency & idempotency
Also updated comments
2018-05-18 01:26:41 +02:00
Henrik Lissner
fa6a99f963
feature/evil: fix */# keybinds entering operator mode 2018-05-17 00:54:29 +02:00
Henrik Lissner
45c21a5a83
Move :feature services => :tools prodigy 2018-05-16 22:41:21 +02:00
Henrik Lissner
d32e500f97
feature/file-template: refactor for idempotency 2018-05-16 18:26:08 +02:00