Henrik Lissner
c0390c86d0
bump: :completion company
...
company-mode/company-mode@1887974e7a -> company-mode/company-mode@4c08ef4686
2021-10-06 11:40:50 +02:00
Itai Y. Efrat
8b3b39532d
fix(vertico): add +vertico/find-file-in stopgap
...
Temporarily disable embark actions (and as a result, marginalia
annotations) for +vertico/find-file-in and functions that use it, since
because currently the embark actions don't inherit the intended
default-directory, embark actions might run unintentional destructive
operations if there are files with the same name in the
default-directory and the directory +vertico/find-file-in is run on.
Ref #5494
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
f50bfdc703
bump: :completion vertico
...
minad/consult@a07ca38331 -> minad/consult@dc6e455861
minad/vertico@81a4b35f8d -> minad/vertico@0df75c0bbc
oantolin/embark@3a90a3e3c6 -> oantolin/embark@1492aefc00
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
34f76c8a75
fix(vertico): +vertico/switch-workspace-buffer
...
- fix a paren error in the function that caused the buffers to be sorted
alphabetically and not by recency
- refactor the workspace buffer sources to use consult--buffer-query,
that way we get niceties like the current buffer being last
Fix #5366
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
dda5f558b2
fix(vertico): adapt to targets changing to plists
...
embark targets changed internally to plists a while back. This didn't
really seem to break anything but it's best to be up to date with the
upstream representation.
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
0888c024db
docs(vertico): fix added keybindings table
...
C-n and C-p aren't added by doom, so they shouldn't be listed there.
2021-09-15 01:42:19 +03:00
Itai Y. Efrat
a612220369
refactor!(vertico): evil minibuffer keybindings
...
BREAKING CHANGE: remove +vertico/(next|previous)-candidate-preview.
BREAKING CHANGE: Move vertico-(next|previous)-group to C-M-j/k now that
C-S-j/k now default back to scrolling up and down pages.
Update docs to reflect these changes.
2021-09-15 01:41:37 +03:00
Itai Y. Efrat
6022579231
refactor(vertico): +vertico-consult-fd-args
...
Initialize as nil with a defvar, and only change the value if the user
hasn't set it themselves.
2021-09-15 01:07:06 +03:00
Itai Y. Efrat
7762386e52
bump: :completion vertico
...
minad/consult@105a1ac501 -> minad/consult@a07ca38331
minad/marginalia@c6ca58bea8 -> minad/marginalia@cb1d3ba604
oantolin/embark@19145d5a33 -> oantolin/embark@3a90a3e3c6
oantolin/orderless@1a7011ac9c -> oantolin/orderless@62f71c34ba
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
3991d2ce77
docs(vertico): explain how shadow paths work
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9241a4d709
refactor(vertico): file completion backspace
...
Switch from the homemade +vertico/backward-updir to the upstream
vertico-directory-delete-char. The former has the nice feature of
traversing up abbreviated paths, but this comes at the cost of not being
able to fully erase the path (since the buck stops at /), and
unintentional directory moving in commands such as +vertico/find-file-in
which causes issues. Overall this minor convenience is not worth it, so
the vertico-directory-delete-char behaviour of just deleting up to the
previous / is preferred instead.
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
161d48c2a9
refactor(vertico): embark package actions map
...
- use new variable +vertico/embark-doom-package-map instead of
overriding embark-package-map
- define it with embark-define-keymap in order to inherit from the
default keymap
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9d44b3510a
fix(vertico): +vertico/jump-list requires consult
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
f536103af6
fix(vertico): package target finder
...
now returns nil instead of erroring out when it can't find a paren in
the buffer
Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
1f3ac1eb77
nit(vertico): fix whitespace
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
934ad07f23
feat(vertico): add magit-status embark action
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9e3a5df15d
fix(vertico): feature gate embark workspace action
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
c832eddc9d
docs(vertico): explain symbol class annotations
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
fc163b16c9
feat(vertico): use basic completion for remotes
...
Close : #5313
Co-authored-by: Stefan Lendl <ste.lendl@gmail.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
2c431aae0e
fix(vertico): +vertico/find-file-in...
...
allow the creation of new files if the input doesn't match any existing
ones.
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
4b0b7f55c8
docs(vertico): document new consult grep behavior
...
- explain how consult translates regexp matches in the readme
- add doom doctor checks for pcre support
2021-09-14 20:44:54 +03:00
Itai Y. Efrat
0a69ca957a
refactor(vertico): rename which key indicator
...
rename +vertico/embark-which-key-indicator to
+vertico-embark-which-key-indicator, since it's not interactive
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c0fd2c37cd
feat(vertico): add char-fold style dispatcher
...
affixing with % uses char-fold-to-regexp on the input
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
26014435b2
feat(vertico): colorize vertico candidate on act
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c10d277713
refactor(vertico): all-the-icons-completion recipe
...
The package has been accepted to melpa
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
940f66fa89
bump: :completion vertico
...
iyefrat/all-the-icons-completion@d1d4b2f0df -> iyefrat/all-the-icons-completion@9650041854
minad/consult@69bbd213dc -> minad/consult@105a1ac501
minad/marginalia@1123544536 -> minad/marginalia@c6ca58bea8
minad/vertico@9de6709cdd -> minad/vertico@81a4b35f8d
oantolin/embark@1a7e6b5561 -> oantolin/embark@19145d5a33
oantolin/orderless@1e84120a28 -> oantolin/orderless@1a7011ac9c
- Adapt consult async commands to new consult-x-args format instead of
consult-x-command.
- Change regepx in +vertico-file-search to emacs instead of pcre,
because consult switched to using only emacs regexps
- Move to new embark-indicators variable, and replace
embark-mixed-indicator with +vertico/embark-which-key-indicator to be
compatible with future changes
- Adapt Doom's optional usage of fd to new consult command format
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c3fc7da5f1
docs(vertico): add more explanations to readme
...
- add explanation for consult async commands
- expand configuration section to use subheadings
- add section on overriding consult-customize settings
Close #5291
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
4613c74d8b
fix(vertico): prefix-help-command
...
- move the setq to the embark use-package where it belongs
- also set which-key-use-C-h-commands to nil, otherwise sometimes
which-key will override the prefix-help-command setting
2021-09-14 20:38:40 +03:00
Henrik Lissner
27e1ed7383
bump: :completion ivy helm company
...
abo-abo/swiper@56139df678 -> abo-abo/swiper@6a8e5611f3
company-mode/company-mode@d77184094b -> company-mode/company-mode@1887974e7a
emacs-helm/helm@42e28369d5 -> emacs-helm/helm@4fcb36f1b9
raxod502/prescient.el@4a0f540579 -> raxod502/prescient.el@027c2137a8
sebastiencs/company-box@c8a867163b -> sebastiencs/company-box@156f65cfbf
Close #5419
2021-09-14 14:30:06 +02:00
Henrik Lissner
265e19a405
fix(vertico): +vertico/jump-list failing to jump
...
Prior to this fix this command would error out because of incorrect
expectations wrt consult--read's return value.
2021-08-21 03:29:13 -04:00
Henrik Lissner
a2a128d3a5
tweak(vertico): prefix-help-command = embark-prefix-help-command
...
Embark's interface of prefix-help-command is so vastly superior to the
original prefix-help-command that it makes good sense that it be a
default.
2021-08-05 12:54:37 -04:00
Henrik Lissner
045ea7460d
nit: revise and reformat code comments
2021-08-04 01:53:12 -04:00
Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Daanturo
65950f3e91
feat(vertico): enable smart case for +vertico-file-search
...
Vanilla Emacs, Ivy, and Helm do this by default. Should be upstreamed.
Close #5322
2021-08-01 14:58:25 -04:00
Itai Y. Efrat
3af07d2500
fix(vertico): +vertico/embark-preview
bug
...
- replace obsolete `embark-default-action` with `embark-dwim`
- add `defvar` for `embark-quiet-after-action` to fix lexical var bug
2021-07-31 10:50:00 +03:00
Itai Y. Efrat
f7863f96f0
nit(vertico): sharpquote a quoted function
2021-07-31 10:49:00 +03:00
Itai Y. Efrat
19c40901f1
fix(vertico): +vertico/find-file-in
...
...
- require `consult` (`consult--directory-prompt` isn't autoloaded)
- set category to `'file`
2021-07-31 10:48:00 +03:00
Itai Y. Efrat
a23cb1fddf
fix(vertico): consult-recent-file
previews
...
Turning on `recentf-mode` in a `cmd!` (introduced in 97048e2
) means that
the `consult-customize` that turns off the previews doesn't work. This
is fixed by advising the function instead.
2021-07-31 10:47:00 +03:00
Itai Y. Efrat
859fc4e1b1
feat(vertico): improve marginalia annotations
...
- use `doom-project-root` in the annotation category
`project-file` (marginalia uses `project.el`)
- annotate more functions, alphabetize list
2021-07-31 10:46:00 +03:00
Itai Y. Efrat
4c3c027a96
feat(vertico): better crm interface
2021-07-31 10:43:00 +03:00
Itai Y. Efrat
d6fba19586
bump: :completion vertico
...
minad/consult@28f9ba8 -> minad/consult@69bbd21
minad/marginalia@a3a8edb -> minad/marginalia@1123544
minad/vertico@4a90297 -> minad/vertico@9de6709
oantolin/embark@be03ce9 -> oantolin/embark@1a7e6b5
iyefrat/all-the-icons-completion@24cdb3b -> iyefrat/all-the-icons-completion@d1d4b2f
update embark indicator to new format
2021-07-31 10:41:00 +03:00
Daanturo
e71d564387
Fix +vertico-file-search when separator is used
...
instead of the Perl style.
`concat` can't operate on characters.
2021-07-29 09:42:42 +07:00
Henrik Lissner
a6b6b6197b
fix(vertico): TAB bound to non-interactive function
2021-07-28 13:11:45 -04:00
Henrik Lissner
9d7338d4b8
fix(vertico): add +ivy/jump-list analogue
...
Fix 'SPC s j' for consult users.
2021-07-28 13:11:36 -04:00
Henrik Lissner
33b646826b
fix(vertico): add counsel-file-jump analogue
...
Fix 'SPC f F' / 'C-c f F' for vertico users
2021-07-28 12:54:23 -04:00
Henrik Lissner
551e5adf81
fix(vertico): unreachable function in autoloads
...
+ Rename +vertico--embark-target-package to
+vertico-embark-target-package-fn to conform to naming conventions,
and because it's not a private function anymore.
+ Fix +vertico-embark-target-package-fn's indentation.
Fix #5208
2021-07-28 12:43:05 -04:00
Henrik Lissner
fd844ea18d
fix(vertico): escape perl syntax in selection
...
+ Escape any special regexp characters in the active selection.
+ Change the async split character (#) to the first of %, @, !, &, or /
that is absent in the active selection (falling back to %
otherwise) (since consult doesn't recognize escaping for these
characters).
2021-07-28 12:37:47 -04:00
Henrik Lissner
ffcfb6d8b3
tweak(vertico): tune consult async timers
...
For a more responsive UX.
2021-07-28 12:03:42 -04:00
Henrik Lissner
d7a223493e
completion/vertico: consult-async-min-input = 2
...
Legitimate two-letter searches are common enough in codebases that
consult-async-min-input's default value of 3 catches me up more often
than not.
2021-07-26 02:56:46 -04:00
Henrik Lissner
97048e2db4
completion/vertico: lazily activate recentf-mode
...
This'll do for now.
2021-07-25 18:03:12 -04:00