Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
f1cf88eeb6 completion/ivy: fix ag/pt/grep file search args 2018-03-28 12:34:04 -07: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
128b11a8bc Minor style/comment edits 2018-03-02 23:26:55 -05:00
1758008ca5 completion/ivy: remap swiper -> counsel-grep-or-swiper #432 2018-02-28 17:57:31 -05:00
36f903d029 completion/ivy: update for upstream changes (fix ag/rg/pt commands) 2018-02-28 17:57:26 -05:00
52c24197ba completion/ivy: add pt file search backend; fix +ivy:grep-cwd autoload 2018-02-19 20:19:12 -05:00
3bc9f4b4fb completion/ivy: refactor ag/rg file search backends + fix args 2018-02-19 20:18:25 -05:00
20d97ffbaa completion/ivy: add grep/git-grep integration to evil+ivy (:grep/:grepc[wd]) 2018-02-19 03:11:28 -05:00
210a80a74f completion/ivy: add counsel-org-capture autoload #412 2018-02-07 14:47:33 -05:00
4658d22bf7 completion/ivy: remap org-capture to counsel-org-capture #407 2018-02-06 14:07:27 -05:00
f632ec3df1 Add 'counsel-descbinds' to councel defer commands. 2018-01-30 13:13:45 +01:00
272a34da45 completion/ivy: larger ivy-occur popup #375 2018-01-28 22:24:48 -05:00
a8ab37e5eb completion/ivy: fix void-variable errors
In case file search used too early.
2018-01-28 22:24:18 -05:00
3578d433c2 Integrate counsel-projectile-switch-project & restore file prompt when switching projects 2018-01-28 03:34:18 -05:00
d0cce3cafb completion/ivy: remove projectile-switch-project remap 2018-01-28 03:13:40 -05:00
d556e1190e completion/ivy: refactor; lazy-load counsel & counsel-projectile
Counsel loads a number of other packages, like dired, etags, swiper and
some of the eshell library. We're better off lazy-loading it.
2018-01-27 21:41:44 -05:00
45c2221316 General update for docstrings and comments & minor refactor 2018-01-15 00:43:28 -05:00
5ee50c6b53 Move wgrep config from core-editor to completion/{ivy,helm} 2018-01-14 02:04:34 -05:00
233b2021ce completion/ivy: add transformer for projectile-find-file 2018-01-09 03:45:27 -05:00
565c4fa0f4 completion/ivy: fix stringp error from blank buffer-file-name 2018-01-09 03:45:05 -05:00
ca3f955a93 completion/ivy: use upstream ivy-rich
My PR was merged upstream.
2018-01-08 20:43:57 -05:00
865fe29a9d completion/ivy: use switch-buffer transformer for projectile 2018-01-08 19:07:23 -05:00
4b4447d31e completion/ivy: dim non-project entries in counsel-recentf
Added +ivy-recentf-transformer to counsel-recentf. Entries that aren't
in the same project as the buffer recentf was opened from will be
slightly dimmed.
2018-01-08 19:05:12 -05:00
1f52669684 completion/ivy: refactor switch-buffer transformer #331
Also switches to my private fork of ivy-rich until the changes are
merged upstream.
2018-01-08 19:04:21 -05:00
3beb1f098a completion/ivy: use font-lock-doc-face instead of ivy-remote 2018-01-08 15:02:54 -05:00
f2e5321ce1 feature/ivy: fix virtual buffers in +ivy/switch-workspace-buffer #331
The former +ivy/switch-workspace-buffer constructed its own collection
of buffers, so ivy-use-virtual-buffers would have no effect on it.  Use
internal-complete-buffer instead and ivy-read will know what to do under
the hood.
2018-01-08 14:43:58 -05:00
1c2683ce9d completion/ivy: add ivy-rich; rewrite custom transformer #331
+ivy-buffer-transformer does *most* of what ivy-rich does, so lets cut down on
our own code, bring in ivy-rich, and add our customizations on top of it.

This fixes ivy-use-virtual-buffers support, too.
2018-01-08 14:41:41 -05:00
25619908a2 Narrow down the purpose of init & post-init hooks
Essential hooks should be added to doom-init-hook. Non-essential and
extra hooks should be added to doom-psot-init-hook.
2018-01-07 00:15:58 -05:00
91357a3e5d 💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
9e3682535a Fix describe-(function|variable) and ivy-resume
describe-(function|variable) weren't remapped to their counsel variants,
so ivy-resume wouldn't resume those sessions properly.
2018-01-06 00:08:53 -05:00
c6764e0f24 Fix file search opening files from wrong default-directory 2018-01-04 16:16:45 -05:00
815fc6ef02 Update +ivy*counsel-ag-function b/c of upstream changes 2018-01-04 16:16:44 -05:00