Commit Graph

908 Commits

Author SHA1 Message Date
ded367eef5 Add posframes to helm in emacs 26+ 2018-05-30 13:56:38 +10:00
ce4327e3a9 completion/helm: cleanup and set some more sensible defaults 2018-05-30 13:46:09 +10:00
3b85720c9c Fix incorrect uses of add-to-list 2018-05-28 12:26:03 +02:00
5b31fd9505 Use company-dabbrev-code in prog-modes & company-dabbrev everywhere else 2018-05-28 00:08:14 +02:00
e99d5c6624 completion/helm: refactor how helm packages are loaded; fix command remaps 2018-05-25 11:49:59 +02:00
b36eca2ae7 completion/ivy: ivy-height = 15 2018-05-25 00:50:33 +02:00
55a3aeec9a completion/ivy: don't pre-fill ag/rg/pt/grep searches w/ last search 2018-05-25 00:50:24 +02:00
852193dfc5 completion/helm: update command remappings 2018-05-25 00:49:21 +02:00
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
0b48575c14 Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
80adb9c1f6 General refactor for consistency & idempotency
Also updated comments
2018-05-18 01:26:41 +02:00
ded6526eee completion/ivy: fix void-variable error in +ivy:{pt,grep} 2018-05-17 17:00:20 +02:00
dbdce2a8b2 completion/ivy: fix file search not searching compressed archives 2018-05-17 16:59:55 +02:00
e38560252b Fix typo causing startup error in helm modules
It looks like an extra letter snuck into a `nil` in 67dab98. This is causing a
startup error on develop.
2018-05-15 09:40:44 -05:00
94f9e43f25 Rewrite :defer semantics
:defer now supports a hook, a cons cell with (SYMBOL . INTEGER) where
SYMBOL is a hook and INTEGER is a number of idle seconds before the
package is autoloaded, or just the integer (as per the default behavior
of :defer).

Also fixes an issue where switch-buffer-deffered packages (like
smartparens) wouldn't load.
2018-05-15 10:54:45 +02:00
67dab98859 Improve idempotency of Doom config (in case of reloading) 2018-05-14 20:54:58 +02:00
a631c10d05 Exploit new :defer input|buffer across various modules 2018-05-14 20:45:47 +02:00
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
40bd1da5a5 completion/helm: avoid with-helm-buffer macro #503 #507 2018-05-14 13:05:03 +02:00
1ee9a1893f completion/company: company-frontends bug fixed upstream 2018-05-10 19:27:14 +02:00
b3f38a8bed completion/ivy: fix header vars in doctor.el 2018-05-09 10:22:03 +02:00
317b556bde Extract :ui posframe packages into other modules 2018-05-09 00:20:01 +02:00
3488821b2e completion/company: minor quoting refactor
Sharp-quote function and use backquotes in pcase (better Emacs <25
compatibility).
2018-05-08 17:57:27 +02:00
7d7c978877 completion/company: enable company-mode in eshell-mode 2018-05-08 16:18:30 +02:00
bfc684c024 completion/company: Emacs version check for company-box #566 2018-05-07 22:38:35 +02:00
7ee689c57c completion/company: reduce contrast of company-box icon colors 2018-04-23 04:30:44 -04:00
2b0c681d7a completion/company: refactor icons & add colors 2018-04-23 04:24:42 -04:00
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
5e007ada08 completion/company: use company-pseudo-tooltip-frontend instead 2018-04-23 02:37:58 -04:00
cf99f29ee0 completion/company: add company-box package 2018-04-23 00:53:18 -04:00
aef9724324 Add doom*shut-up advisor to core-lib 2018-04-23 00:03:28 -04:00
97812583f0 completion/company: add company-box config & +childframe flag 2018-04-22 23:41:53 -04:00
6bdaf2afbb completion/company: refactor +auto implementation 2018-04-22 23:41:20 -04:00
c583a89a15 completion/company: allow minor modes in :company-backend 2018-04-22 23:40:09 -04:00
148f0a6e34 completion/company: set variables sooner (easier to override) 2018-04-18 18:22:23 -04:00
9e89c06cf4 Revert "completion/helm: fix void-function with-helm-buffer error"
This reverts commit 0739e8cd0a.

Fixes #512
2018-04-07 08:04:35 -04:00
0739e8cd0a completion/helm: fix void-function with-helm-buffer error
Presumably caused by eager expansion trying to expand the macro before
helm is loaded.
2018-04-03 04:20:10 -04:00
f1cf88eeb6 completion/ivy: fix ag/pt/grep file search args 2018-03-28 12:34:04 -07:00
cec72fa959 completion/ido: update to use ido-completing-read+ (renamed from ido-ubiquitous) 2018-03-27 10:28:37 -06:00
7f6fb69a3d completion/ivy: reuse last query if none supplied 2018-03-26 00:30:10 -04:00
5a746f3da8 completion/ivy: fix wrong number of args error in rg/ag/pt/grep ex commands 2018-03-26 00:29:55 -04:00
9e62898d92 completion/ivy: major refactor of file-search commands 2018-03-26 00:02:22 -04:00
83211cd74c completion/ivy: fix redundant smart-case flag in ripgrep args 2018-03-25 22:59:49 -04:00
2925f5657b completion/ivy: decouple ivy-rich advice from nullable doom--project-root 2018-03-24 17:05:06 -04:00
70b49282a3 completion/ivy: add counsel-grep-or-swiper to autoloads 2018-03-24 07:25:01 -04:00
dacf50627c completion/ivy: don't kill ivy on DEL in empty minibuffer 2018-03-23 02:23:57 -04:00
8d72257aa6 completion/ivy: refactor ag/rg/pt/git-grep advice functions
They are no isolated to their evil use cases.
2018-03-18 22:01:18 -04:00
ff2f30f9b4 feature/evil: improve bf771dcb 2018-03-18 22:01:08 -04:00
bf771dcbdb Set evil jump point before counsel-ag (and variants) 2018-03-18 15:18:19 -04:00
73f397560b completion/ivy: remove yank-pop remap (doesn't work) 2018-03-14 19:50:03 -04:00