Commit Graph

589 Commits

Author SHA1 Message Date
cf19fe739c Apply some minor changes to the helm module
Remove usage of the following variables, since they are no longer
present in helm's source code:

helm-M-x-fuzzy-match
helm-completion-in-region-fuzzy-match

Also remove the usage of the deprecated helm-mode-fuzzy-match variable.
Instead, modify completing-styles so that helmized commands will use
multi- or fuzzy-matching, respectively.
2020-03-14 20:52:33 +01:00
dd402b7db3 Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
f4aa2a8ca7 Bump :completion ivy
abo-abo/swiper@7084d60 -> abo-abo/swiper@5f1d9ce
Yevgnen/ivy-rich@af43aba -> Yevgnen/ivy-rich@0f22aff

Fixes ivy-dispatching-done on Emacs 27+
2020-03-11 22:17:00 -04:00
ed2fb68362 Fix prescient breaking certain counsel commands due to post-sorting 2020-03-03 23:33:53 -05:00
a44df0b9c5 Bump :completion helm
emacs-helm/helm@8f56312 -> emacs-helm/helm@21e778b
tumashu/posframe@087a7fc -> tumashu/posframe@8a9af54
2020-02-29 11:47:12 -05:00
cd5152497d Ensure company-backends are computed late in mode init 2020-02-25 20:03:58 -05:00
9393680909 Fix counsel-file-jump advice for windows users
Was using the wrong arguments for windows version of ripgrep.
2020-02-24 22:11:36 -05:00
50efb3e01f Merge pull request #2582 from bricewge/develop
completion/ivy: sort projectile files with prescient
2020-02-24 20:44:16 -05:00
9c6d614f31 Bump :completion helm
emacs-helm/helm@c17f1c76e4 -> emacs-helm/helm@8f56312053
tumashu/posframe@c250771589 -> tumashu/posframe@087a7fc3c8
2020-02-24 20:35:59 -05:00
cbd9cab23d Bump :completion ivy
DarwinAwardWinner/amx@3af93ca -> DarwinAwardWinner/amx@e512e74
Yevgnen/ivy-rich@7bfc726 -> Yevgnen/ivy-rich@af43aba
abo-abo/swiper@098f8fe -> abo-abo/swiper@7084d60
asok/all-the-icons-ivy@babea62 -> asok/all-the-icons-ivy@a70cbfa
ericdanan/counsel-projectile@cadc6de -> ericdanan/counsel-projectile@b556ed8
mhayashi1120/Emacs-wgrep@e67e737 -> mhayashi1120/Emacs-wgrep@5977b8e
2020-02-24 20:35:59 -05:00
3f50dad5ee completion/ivy: sort projectile files with prescient 2020-02-22 21:35:15 +01:00
7f9623249f Abort company popups when entering normal mode
You likely don't need completion anymore once you exit insert state.
2020-02-20 20:30:43 -05:00
3b6fd1b360 Deactivate mark after successful file search
Fixes #2523
2020-02-11 13:36:23 -05:00
2c312c4f23 Use doom-projectile-fd-binary for fd binary
Don't look for it again
2020-02-09 10:03:37 +02:00
4d393fe9c2 Also try to search for fdfind, not only fd 2020-02-08 19:40:28 +02:00
c912d78afe Bump to company-mode/company-mode@9de9905
From company-mode/company-mode@d505356
2020-02-06 15:20:11 -05:00
93fa5edf2f Bump to mhayashi1120/wgrep@e67e737 2020-02-02 22:59:52 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
2c536cf948 Merge pull request #2402 from snyball/develop
Fix #2397: helm posframe
2020-01-23 17:20:58 -05:00
93ebe4a4bb Moved adding of helm-hide-minibuffer-maybe hook
From a racy when condition in the posframe autoload, into an
unconditional hook in the helm config.el file.
2020-01-23 12:58:39 +01:00
a34cb1656a Fix #2393: remap org-set-tags-command to counsel-org-tag 2020-01-23 02:05:46 -05:00
f6dc8d0202 Actually fix #2397
Added the setq to the wrong (when (featurep!)) initially.
2020-01-22 12:19:56 +01:00
dc8ad7896a Display header line in Helm posframe
But only if helm-echo-input-in-header-line is set to true.
2020-01-22 12:06:29 +01:00
73ad5ddc83 Fixes #2397 2020-01-22 12:06:02 +01:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
6f273ffc25 Totally disable company-box scrollbar
Since the problem persists despite the earlier window-width fix.

Fixes sebastiencs/company-box#44
2020-01-13 01:46:43 -05:00
b320075c5b Add company-box scrollbar "fix" & refactor config 2020-01-13 00:08:59 -05:00
bf60a2a7c6 Don't sort counsel-imenu 2020-01-12 18:12:01 -05:00
25eb9176ad Fix ivy-prescient disabling fuzzy search
It can set up itself.
2020-01-12 03:07:35 -05:00
b5a279311c Fix #2317: helm-mode-handle-completion-in-region = t
It turns out that helm can handle completing ex constructs (e.g. globs),
so this setting is no longer needed.
2020-01-07 00:14:46 -05:00
ae8dc2749f Remove ivy-{standard,alternative}-search #2314
Turns out ivy and counsel have a number of hard-coded checks for flx
against ivy--regex-fuzzy:

- https://github.com/abo-abo/swiper/blob/master/ivy.el#L3531
- https://github.com/abo-abo/swiper/blob/master/ivy.el#L3637
- https://github.com/abo-abo/swiper/blob/master/ivy.el#L4643
- https://github.com/abo-abo/swiper/blob/master/counsel.el#L1359
- https://github.com/abo-abo/swiper/blob/master/counsel.el#L1561

This means, by assigning our own delegates around ivy regex functions
will break flx sorting (reported in #2314), and possibly other behavior.
2020-01-06 01:38:51 -05:00
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
ab994627bc Add counsel-find-file's actions to counsel-file-jump 2020-01-01 21:19:21 -05:00
f0e05c1a44 Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
d7d873e11b Fix counsel-projectile-find-file from occur buffers #2268
counsel-projectile-find-file-action would open the candidate from wrong
buffer.

This is an experimental fix.
2019-12-31 00:04:07 -05:00
fb261a9c65 Fix extra ivy actions for counsel-{rg,find-file} 2019-12-31 00:02:00 -05:00
c57aff9b81 Change how +lookup/online populates initial input
If no selection is active, there is no initial input.
If selection is active, use the selection.

Also remove helm-google package, as the helm functionality is provided
by the core helm package already (and actually works).
2019-12-29 19:24:45 -05:00
b144a3862a Bind 'SPC h d S' to text search; expand ivy/helm file-search API 2019-12-23 01:51:43 -05:00
6c0d71eb65 completion/ivy: reduce min-chars for counsel-search to 2
From default of 3
2019-12-20 18:33:11 -05:00
8a080e037c completion/ivy: general refactor 2019-12-20 14:03:35 -05:00
52bf238b2f completion/ivy: make counsel-search use standard url 2019-12-20 13:53:54 -05:00
e6de13b4c9 Treat +ivy/project-search & +default/project-search as counsel-rg
This gives the former commands access to any actions (on C-o) or counsel
configuration meant for counsel-rg.
2019-12-17 23:31:10 -05:00
defbed9ac1 completion/ivy: fix directory in project search prompt
It unhelpfully always displayed "./"
2019-12-17 23:15:26 -05:00
cdfef48b64 completion/ivy: fix +fuzzy 2019-12-16 17:49:11 -05:00
eaa5621b36 Update comments 2019-12-15 23:51:59 -05:00
0001947401 completion/company: mention +tng/+childframe incompatibility in readme 2019-12-15 21:45:40 -05:00
7095bdb7ce completion/ivy: remove redundant counsel-find-file actions
Many of these are already upstream, but some of them are on different
keys (e.g. j instead of f for other-window).

See https://github.com/abo-abo/swiper/blob/master/counsel.el#L1864-L1875
2019-12-15 18:49:42 -05:00
7fa4e67e39 Minor refactors 2019-12-14 20:42:55 -05:00
87f6dab424 completion/ivy: remove unused var; update config
...to reflect our dropping ag/grep support.
2019-12-13 23:00:01 -05:00
a24b750c6c completion/ivy: fix ivy-re-builders-alist delegates 2019-12-13 22:49:26 -05:00