Henrik Lissner
9d1df5f298
nit: minor refactors & comment/docstring revisions
2022-06-21 14:40:15 +02:00
Henrik Lissner
4071d27263
fix(vertico): popup rule for embark export buffers
...
Embark Export buffers have changed their name from "*Embark Export Grep
...*" to "*Embark Export: ...*".
Fix : #6465
2022-06-18 08:19:46 +02:00
Henrik Lissner
24c658bae9
fix(vertico): ensure load order of consult & embark
...
The precise semantics of use-package's :after keyword is janky (see
jwiegley/use-package#829 ) and, in the case of 992bd8f7e2
, causes
subtle breakage. For one, the remappings in the following :init block
were deferred until embark loaded, so they weren't available at startup,
so they reverted to their old (often vastly inferior) predecessors, like
recentf-open-files instead of consult-recent-files.
Amend: 992bd8f7e2
2022-06-17 20:48:13 +02:00
Ellis Kenyő
4389e2b1c5
feat(vertico): add tramp sources to consult-dir
...
Fix : #6258
2022-06-17 19:57:32 +02:00
iyefrat
992bd8f7e2
fix(vertico): load consult after embark
...
Currently, embark-consult bindings don't get loaded if consult hasn't
been loaded yet, leading to missing embark actions until the first
manual consult load.
2022-06-17 18:42:42 +02:00
Daanturo
7c676c83bc
tweak(vertico): use setq-default to set completion-in-region-function
...
Corfu makes completion-in-region-function a local variable in buffers
where it is enabled, so when this form is evaluated in one of those said
buffers (such as opening a file with Emacs before accessing the
minibuffer), completion-in-region-function will just be set locally
there.
2022-06-17 18:40:34 +02:00
Henrik Lissner
77e9932966
bump: :core
...
Fuco1/smartparens@37f77bf2e2 -> Fuco1/smartparens@ec15aaa748
Wilfred/helpful@67cdd1030b -> Wilfred/helpful@209971ba9f
bbatsov/projectile@f3468e8d20 -> bbatsov/projectile@4d6da873ae
domtronn/all-the-icons.el@65c496d3d1 -> domtronn/all-the-icons.el@ca1ef30004
emacs-straight/project@4fe1eec803 -> emacs-straight/project@c52ec93689
jscheid/dtrt-indent@66fc30af02 -> jscheid/dtrt-indent@57f4072fa8
justbur/emacs-which-key@1217db8c63 -> justbur/emacs-which-key@1ab1d0cc88
raxod502/straight.el@e2de88ea0e -> radian-software/straight.el@0e204d418d
Includes a fix for #5207 (see radian-software/straight.el#955 ), which
occasionally caused arrayp errors when installing/upgrading packages.
Fix : #5207
Ref: radian-software/straight.el#955
2022-06-17 18:21:23 +02:00
Itai Y. Efrat
ebbebc53a6
tweak(vertico): add basic completion style fallback
...
This is now the recommended configuration, see the referenced issue.
Ref: oantolin/orderless#111
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
7ed1f96b0b
feat(vertico): add crm indicator
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
a8433e0581
bump: :completion vertico
...
minad/consult@822928a860 -> minad/consult@b15c81f776
minad/vertico@cc5f5421c6 -> minad/vertico@e5935b5bbf
oantolin/embark@d88478b45f -> oantolin/embark@97270d7257
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
4cecc654b9
fix(vertico): consult tofu regex range
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
1f25c3510f
feat(vertico): add workarounds for problematic commands
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
08f32e6d0f
tweak(vertico): improve org consult source
...
- only add if :lang org is on
- have a version that works before org is loaded
2022-05-26 01:18:02 +03:00
Itai Y. Efrat
c13b59395c
bump: :completion vertico
...
minad/consult@d30213aa20 -> minad/consult@822928a860
minad/marginalia@dbc37b373e -> minad/marginalia@26f2bd9ee7
minad/vertico@46e8e05650 -> minad/vertico@cc5f5421c6
oantolin/embark@2890e535f5 -> oantolin/embark@d88478b45f
oantolin/orderless@8f64537f55 -> oantolin/orderless@75eeae2197
- Remove everything related to `consult-completing-read-multiple` since
the function has been deprecated upstream due to implementation issues
Ref: minad/consult#567
Close : #6352
2022-05-26 01:18:02 +03:00
Henrik Lissner
65ff263668
fix(vertico): backspace keybind for tty users
...
The input event, [backspace], is only emitted in GUI Emacs, not TTY
Emacs.
Ref: https://discourse.doomemacs.org/t/2491/3
2022-04-22 23:36:05 +02:00
Sean Farley
ece4a74a9b
feat(vertico): add +childframe option similar to ivy
2022-04-15 21:24:34 +02:00
Henrik Lissner
0e48c22c3e
fix(vertico): missing closing paren
...
And correct minor formatting inconsistencies.
Amend: c39acf284b
2022-04-12 02:51:38 +02:00
Itai Y. Efrat
c39acf284b
refactor(vertico): don't suppress compression errors
...
This was fixed upstream
Ref: minad/marginalia#132
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
c9665f733b
fix(vertico): update +vertico-workspace-buffer-state to new api
...
also adapt upstream improvements
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
136e7df76e
bump: :completion vertico consult-lsp
...
gagbo/consult-lsp@5a3c4e3f42 -> gagbo/consult-lsp@a8eb3a062f
iyefrat/all-the-icons-completion@9e7d456b09 -> iyefrat/all-the-icons-completion@286e2c064a
minad/consult@36b8bc7065 -> minad/consult@d30213aa20
minad/marginalia@a514c024ac -> minad/marginalia@dbc37b373e
minad/vertico@7ec0f0c076 -> minad/vertico@46e8e05650
Close : #6279
Close : #6277
2022-04-12 02:32:20 +02:00
Itai Y. Efrat
fd50f388a4
refactor!(vertico): fix embark-collect and rebind to C-c C-l
...
BREAKING CHANGE: `embark-collect-snapshot` has been renamed upstream to
`embark-collect`. Since the `C-s` mnemonic doesn't really make sense
anymore, I've moved the binding to `C-c C-l`, which has the nice bonus
of being next to the similar `C-c C-;`, and being nicer.
2022-04-12 02:32:20 +02:00
Henrik Lissner
7121e993ca
bump: :completion
...
PythonNut/helm-flx@6640fac5cb -> PythonNut/helm-flx@27dd9e3ce3
abo-abo/swiper@c97ea72285 -> abo-abo/swiper@764e0d35ba
company-mode/company-mode@073aef72dd -> company-mode/company-mode@1005540b1c
emacs-helm/helm@5b17313011 -> emacs-helm/helm@1003539c2e
minad/consult-flycheck@0ad7e8ff15 -> minad/consult-flycheck@9b40f136c0
minad/consult@473e6585c5 -> minad/consult@36b8bc7065
minad/marginalia@e63d27e6fb -> minad/marginalia@a514c024ac
minad/vertico@a92b1e47ff -> minad/vertico@7ec0f0c076
oantolin/embark@06d5caafd5 -> oantolin/embark@2890e535f5
oantolin/orderless@f2c78c4a60 -> oantolin/orderless@8f64537f55
2022-04-08 02:52:54 +02:00
Gavin Downard
499cf5e626
tweak(ivy): use helpful for counsel descbinds
...
`counsel-describe-symbol-function' still doesn't use `helpful-symbol'
because `helpful-symbol' throws up a prompt when the symbol refers to
both a function and a variable.
2022-04-06 20:40:26 +02:00
Egidijus Z
d54462fe6d
fix(vertico): vertico-resume to vertico-repeat.
2022-04-01 18:57:41 +02:00
Henrik Lissner
0e802f4653
bump: :completion
...
abo-abo/swiper@1c6b3da377 -> abo-abo/swiper@c97ea72285
company-mode/company-mode@8b58e5895c -> company-mode/company-mode@073aef72dd
emacs-helm/helm@a246a9b278 -> emacs-helm/helm@5b17313011
ericdanan/counsel-projectile@e30150792a -> ericdanan/counsel-projectile@40d1e1d4bb
minad/consult@2106eee75f -> minad/consult@473e6585c5
minad/marginalia@e9540a7b80 -> minad/marginalia@e63d27e6fb
minad/vertico@509ca602c7 -> minad/vertico@a92b1e47ff
oantolin/embark@56e28c23d5 -> oantolin/embark@06d5caafd5
oantolin/orderless@ce462a63e3 -> oantolin/orderless@f2c78c4a60
raxod502/prescient.el@292ac9fe35 -> raxod502/prescient.el@c5295a9eec
tumashu/ivy-posframe@5d9420252c -> tumashu/ivy-posframe@533a8e368f
tumashu/posframe@3b1dc400d2 -> tumashu/posframe@c91d4d53fa
2022-03-30 17:32:47 +02:00
Henrik Lissner
8455bcf6b4
fix(ivy): omit hidden files in counsel-file-jump
...
385e60cd26
was a bit hasty. Rather than disregard all ignore files, we
should simply exclude projectile-globally-ignored-directories entries
from the file list. This is a stop-gap measure while I work on a better,
more general solution for all our :completion modules.
Amend: 385e60cd26
Ref: https://www.reddit.com/r/emacs/comments/tj0na6/moving_from_doom_to_vanilla/?utm_source=share&utm_medium=web2x&context=3
Ref: #6210
2022-03-30 17:32:41 +02:00
Henrik Lissner
385e60cd26
fix(ivy): include hidden files in counsel-file-jump
...
fd was omitted ignored/hidden files, which is inconsistent with
ripgrep's output (when fd is absent).
Ref: https://www.reddit.com/r/emacs/comments/tj0na6/comment/i1laya6/?utm_source=reddit&utm_medium=web2x&context=3
2022-03-22 02:13:17 +01:00
dvzubarev
614aefc339
tweak(vertico): ignore svn and hg dirs in file search
2022-03-19 16:38:00 +01:00
Henrik Lissner
89deac190d
fix(vertico): signature for +vertico/switch-workspace-buffer
...
An unused argument I forgot to remove.
Amend: 81629dc2ad
2022-02-17 21:17:39 +01:00
Henrik Lissner
81629dc2ad
feat(vertico): switch to buffer's workspace
...
When selecting a buffer in another workspace with
+vertico/switch-workspace-buffer, that workspace will be switched to,
instead of opening the buffer in the current workspace.
2022-02-17 21:14:27 +01:00
Henrik Lissner
72c7d07fb4
fix(vertico): 9 workspace limit in switch-workspace-buffer
...
+vertico/switch-workspace-buffer was hardcoded to only list buffers from
the first 9 workspaces. This removes that limit.
Minor catch: workspaces beyond 9 will use lower case a-z as narrowing
keys, followed by upper case A-Z. There will not be any valid narrowing
keys beyond 61 workspaces -- but who in the world would have that many?
2022-02-17 21:14:24 +01:00
Henrik Lissner
394f7be6c5
bump: :completion vertico
...
minad/consult@0940ca0165 -> minad/consult@2106eee75f
minad/marginalia@9229d88ae4 -> minad/marginalia@e9540a7b80
minad/vertico@a8fe9a0b2e -> minad/vertico@509ca602c7
oantolin/embark@c9b26c2e18 -> oantolin/embark@56e28c23d5
oantolin/orderless@1ccf74ffdb -> oantolin/orderless@ce462a63e3
- Marginalia introduced library annotations in
minad/marginalia@5e646cc (minad/marginalia#127 ), which opens us up to
corner cases where decompression of library files (to retrieve their
description) fails and brings down vertico with it.
marginalia--library-doc has been advised to suppress these errors.
Fix : #6099
Ref: minad/marginalia@5e646cc3f6
Ref: minad/marginalia#127
2022-02-10 21:07:20 +01:00
Daanturo
dacf38bad3
fix(vertico): let C-c C-e run existing embark-after-export-hook
...
Previously, +vertico/embark-export-write doesn't let embark execute
other added hooks in embark-after-export-hook.
Add the edit command at the end of the list because other hooks may
assume that the buffer isn't yet editable.
2022-01-30 20:42:05 +01:00
Paul Porfiroff
a922ff8837
fix(vertico): completion category of +default/find-file-under-here
2022-01-28 21:01:34 +01:00
Itai Y. Efrat
f42f923350
feat(vertico): add SPC s e to manual preview list
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
6d31e392cd
nit(vertico): lint embark-file-map bindings
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
09add70efd
feat(vertico): add embark-collect-snapshot binding
...
The C-c C-s binding mirrors the export and writable export bindings.
embark-export is used for type specific exports (such as buffers to an
ibuffer buffer), not for verbatim exports. This is most noticeable if
you want to export a variable list, which gets you to an apropos buffer.
if you just want a list of things to keep around,
embark-collect-snapshot is the tool for the job, but having it be only
on C-; S makes it harder to reach and less visible. C-c C-s is a nice
visible thing to have around.
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
1e2d5485a9
bump: :completion vertico
...
iyefrat/all-the-icons-completion@a0f34d68cc -> iyefrat/all-the-icons-completion@9e7d456b09
minad/consult@cc8eff9578 -> minad/consult@0940ca0165
minad/marginalia@2fb2787bc3 -> minad/marginalia@9229d88ae4
minad/vertico@eedcb84786 -> minad/vertico@a8fe9a0b2e
oantolin/embark@e08899ef2e -> oantolin/embark@c9b26c2e18
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
4f34635e04
refactor!(vertico): crm keybindings behaviour
...
BREAKING CHANGE: This commit changes the behaviour of the TAB and RET
keys in a consult-completing read multiple session, in order to make
them more intuitive. The behaviour is now:
- TAB: (unchanged) always select or deselect the current candidate, and
if the candidate is selected, move the index to the next one (this
allows for pressing TAB repeatedly to select multiple subsequent
candidates).
- RET: If no candidates have been selected, select the current candidate
and exit the completion session. If some have been selected, disregard
the current candidate and exit.
- S-TAB: (new) like TAB, but the keeps the input.
2022-01-13 23:16:03 +02:00
Henrik Lissner
480d9fec28
feat(company): disable company in circe-mode
...
Fix : #5451
2021-12-15 15:18:11 +01:00
Henrik Lissner
3d50e36132
bump: :completion
...
abo-abo/swiper@6a8e5611f3 -> abo-abo/swiper@1c6b3da377
company-mode/company-mode@4c08ef4686 -> company-mode/company-mode@8b58e5895c
emacs-helm/helm@4fcb36f1b9 -> emacs-helm/helm@a246a9b278
ericdanan/counsel-projectile@06b03c1080 -> ericdanan/counsel-projectile@e30150792a
lewang/flx@647cb2f92f -> lewang/flx@e3b3f0533e
lewang/flx@647cb2f92f -> lewang/flx@e3b3f0533e
minad/consult@85008702de -> minad/consult@cc8eff9578
oantolin/embark@725794f013 -> oantolin/embark@e08899ef2e
raxod502/prescient.el@027c2137a8 -> raxod502/prescient.el@292ac9fe35
sebastiencs/company-box@156f65cfbf -> sebastiencs/company-box@f9cbbc7df8
tumashu/ivy-posframe@9c83828233 -> tumashu/ivy-posframe@5d9420252c
tumashu/posframe@f97c4aff2c -> tumashu/posframe@3b1dc400d2
Fix : tumashu/ivy-posframe#114
Close : #5869
2021-12-14 01:21:33 +01:00
Itai Y. Efrat
39ed5eb9ec
bump: :completion vertico
...
minad/consult-flycheck@92b259e6a8 -> minad/consult-flycheck@0ad7e8ff15
minad/consult@57dc1adfdc -> minad/consult@85008702de
minad/marginalia@678b6528f3 -> minad/marginalia@2fb2787bc3
minad/vertico@75f33e3620 -> minad/vertico@eedcb84786
oantolin/embark@5b34b2b603 -> oantolin/embark@725794f013
oantolin/orderless@62f71c34ba -> oantolin/orderless@1ccf74ffdb
Remove +vertico-embark-vertico-indicator as it has been implemented upstream
2021-12-13 01:18:11 +01:00
Henrik Lissner
6130caa621
feat(vertico): remap evil-show-registers to consult-register
...
A follow up to 49a464a
.
Fix : #5753
Ref: 49a464a870
2021-11-21 15:37:11 +01:00
Henrik Lissner
49a464a870
fix(default): missing evil-ex-registers for non-ivy users
...
It was `evil-show-registers' that we wanted, not
`evil-ex-registers' (which never existed in the first place). Folks who
did not have :completion ivy enabled (e.g. vertico and helm users) would
see 'commandp, evil-ex-registers' errors when pressing `SPC i r`. Folks
who had it enabled would transparently invoke `counsel-evil-registers'
instead (because it was remapped).
Fix : #5753
2021-11-21 15:34:57 +01:00
Henrik Lissner
daf8d278d0
fix(lib): doom/help-search
...
Due to malformed ripgrep command (no whitespace between "." and extra
arguments).
Fix : #5758
2021-11-20 00:55:22 +01:00
Itai Y. Efrat
a310fb4a77
bump: :completion vertico
...
minad/consult@39f41edda6 -> minad/consult@57dc1adfdc
minad/marginalia@09d8ab38a5 -> minad/marginalia@678b6528f3
minad/vertico@0df38cf1d7 -> minad/vertico@75f33e3620
oantolin/embark@d09fff2da7 -> oantolin/embark@5b34b2b603
Update vertico-repeat configuration due to upstream changes.
2021-11-19 00:31:13 +02:00
Itai Y. Efrat
5b630e1723
feat(vertico): add consult-dir package
2021-11-19 00:31:12 +02:00
Itai Y. Efrat
8a2b7badc7
fix(vertico): remove unneeded manual preview...
...
from +vertico/search-symbol-at-point.
It only acts on buffers so it shouldn't have been there in the first
place.
2021-11-19 00:29:51 +02:00
Itai Y. Efrat
c8199c5c20
fix(vertico): remove noise from which-key indicator
...
Embark adds easier prefix-argument and digit-argument insertion in
embark-act, but these clog up the space in the which-key indicator
Also update the embark-become test to the new target format.
2021-11-19 00:29:51 +02:00
Itai Y. Efrat
423939033f
fix(vertico): which-key buffer on embark prompter
...
The which-key buffer now disappears immediately on using
embark-completing-read-prompter, instead of only after further user
input.
2021-11-19 00:29:49 +02:00