Commit graph

100 commits

Author SHA1 Message Date
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
4c73ac0111
config/default: Fix evil-collection anti-hacks #604 2018-05-24 22:34:37 +02:00
Henrik Lissner
592e16d76d
Conform debug commands to naming convention 2018-05-24 16:40:37 +02:00
Henrik Lissner
4e18722d49
config/default: update doom help/debug keybinds 2018-05-21 18:34:33 +02:00
Henrik Lissner
af97dcdfe8
config/default: add SPC-g-o/SPC-g-I for browsing remote/issues 2018-05-21 18:34:33 +02:00
Henrik Lissner
1b8dce260b
config/default: restore find-in-snippets command #597
And conditionally bind snippets keybinds
2018-05-21 18:34:33 +02:00
Henrik Lissner
72b9e80cde
config/default: add :rev[erse] command (reverse lines) 2018-05-18 01:46:04 +02:00
Henrik Lissner
170b7f97e7
config/default: rebind I/J indent textobjects to k/j 2018-05-18 01:44:17 +02:00
Henrik Lissner
34b6d4d0cf
config/default: move evil-easymotion keybinds into +bindings.el
It's easier to see and discover this way.
2018-05-16 23:50:50 +02:00
Henrik Lissner
42bdb848b5
config/default: add ]a/[a motions for arguments 2018-05-16 23:42:25 +02:00
Henrik Lissner
3e6d6279a6
ui/evil-goggles: remove unnecessary toggle wrapper command 2018-05-16 13:06:07 +02:00
Henrik Lissner
984a0c8b6c
config/default: SPC h R = doom//reload 2018-05-15 10:54:45 +02:00
Henrik Lissner
9a2c4f297c
Fix void macro errors after byte-compiling 2018-05-15 03:24:30 +02:00
Henrik Lissner
2712d606c2
config/default: remove unnecessary after! blocks 2018-05-14 20:42:48 +02:00
Henrik Lissner
e44fd886f2
Appease byte-compiler-sama 2018-05-14 20:37:13 +02:00
Henrik Lissner
6e3f500a39
completion/ivy: ivy-use-selectable-prompt = t
Solves the "I want to enter something new, but it also is a part of
a match" issue. Thanks to @gilbertw1 for letting me know about this.

As such, the C-RET keybind from 310d81ab is no longer necessary
2018-05-14 20:37:13 +02:00
Henrik Lissner
310d81ab4a
config/default: in ivy, bind C-RET = ivy-immediate-done 2018-05-14 14:57:24 +02:00
Henrik Lissner
72465fd5a0
config/default: bind SPC q r/R to reload/restart Doom 2018-05-14 13:05:03 +02:00
Henrik Lissner
370dacf2a2
config/default: refactor evil-collection fixes 2018-05-14 13:05:03 +02:00
Henrik Lissner
2bbee08105
feature/lookup: new command +lookup/file to replace gf 2018-05-14 13:05:03 +02:00
Henrik Lissner
57f383ef76
General revision of docstrings 2018-05-14 13:05:03 +02:00
Yuxin Wu
f4222cf6f1
Update packages.el 2018-05-10 20:35:09 -07:00
Henrik Lissner
a449519325
config/default: rename :x => :pad
As not to shadow the default :x[it]
2018-05-10 22:15:52 +02:00
Henrik Lissner
a107dcd7a9
config/default: minor reformat (remove whitespace above compiler cookie) 2018-05-09 12:26:14 +02:00
Julien Wintz
b89431eef8
Towards fixing byte compilation. 2018-05-09 12:11:41 +02:00
Henrik Lissner
99ca62c106
Remove smart-forward package 2018-05-08 19:56:31 +02:00
Henrik Lissner
2b9ade9cc7
config/default: update emacs-snippets config
Package now removes default snippets by itself, no need for us to do it
too.
2018-05-08 01:00:51 +02:00
Henrik Lissner
7c1bb8f658
config/default: add & bind +evil/paste-preserve-register (gp) 2018-05-07 19:26:31 +02:00
Henrik Lissner
7269abbe2f
Add doom/version command 2018-05-07 19:26:31 +02:00
Henrik Lissner
4ef70174b0
config/default: minor reformatting 2018-05-05 07:50:04 +02:00
Liu, Joey
9de95ae809 Fix: desc of keymap git staging 2018-05-04 09:04:36 -04:00
Henrik Lissner
779184a9ee
completion/company: remove company-quickhelp
Quickhelp is unreliable and doesn't look very good. I'm searching for an
alternative.
2018-04-23 03:42:19 -04:00
Henrik Lissner
35e5dbcb11
config/default: reformat & refactor company keybinds 2018-04-22 23:59:33 -04:00
Henrik Lissner
fb95ef6255
config/default: remove nonexistent org keybinds #541 2018-04-20 02:47:52 -04:00
Henrik Lissner
18f576dd66
config/default: imenu-list-minor-mode => imenu-list-smart-toggle 2018-04-12 05:28:09 -04:00
Henrik Lissner
22d99c9321
config/default: remove conflicting term keybind 2018-04-12 05:28:06 -04:00
Ryan Phillips
a961d58746 add workspace rename binding 2018-04-09 11:42:01 -05:00
Fangrui Song
fc0cfa0c53 Fix :leader DEL binding for +nav-flash/blink-cursor 2018-04-08 18:00:41 -07:00
Henrik Lissner
ee921f581d
config/default: bind q = quit-window in helpful-mode-map 2018-04-08 18:14:09 -04:00
Henrik Lissner
2ff7f48994
config/default: fix yasnippet TAB keybinds in tty emacs 2018-04-04 07:41:10 -04:00
Henrik Lissner
355b4b1364
💥 Replace config/private w/ first-class support
The config/private module has been removed. ~/.doom.d (or
~/.config/doom; whichever is detected first) is now a first class
citizen of Doom and should just work(tm).

Your init.el only needs to contain:

  (require 'core (concat user-emacs-directory "core/core"))

And you may place your doom! block in ~/.doom.d/init.el (or
~/.config/doom/init.el).
2018-04-03 03:07:30 -04:00
Henrik Lissner
673b723977
config/default: revise SPC g ... keys (magit focus) 2018-03-30 04:12:52 -04:00
Henrik Lissner
8a74a081c4
Remove doom-mode-map; semi-revert abe42fcb 2018-03-27 03:49:45 -04:00
Henrik Lissner
91c974033d
config/default: add help bindings to helpful too 2018-03-27 03:12:23 -04:00
Henrik Lissner
9dc4e59a2c
config/private: add doctor.el 2018-03-26 06:43:29 -04:00
Henrik Lissner
ebf276c6e7
config/default: redo help leader keybinds 2018-03-26 02:55:16 -04:00
Henrik Lissner
9e62898d92
completion/ivy: major refactor of file-search commands 2018-03-26 00:02:22 -04:00
Henrik Lissner
1983363f9c
config/default: add +default-repeat-{forward,backward}-key options 2018-03-25 22:39:03 -04:00
Henrik Lissner
bb8304c15d
feature/evil: rename +evil:macro-on-all-lines => +evil:apply-macro 2018-03-24 07:25:01 -04:00
Henrik Lissner
883faba8ff
config/default: minor refactor; remove message-buffer-mode-map binds 2018-03-23 03:42:39 -04:00