Commit graph

17594 commits

Author SHA1 Message Date
Alexandre de Siqueira
44c8d3c8e4
Adding new line on string on how to upgrade Emacs
The current string presented breaks the address on how to upgrade Emacs:

```
❯ doom install
Detected Emacs 26.3 (at emacs).

Doom only supports Emacs 27.1 and newer. A guide to install a newer version
of Emacs can be found at:

  https://doomemacs.org/docs/getting_started.org#on-linuxAborting...
```

Just adding a `\n` at the end of the string would solve it.
2021-07-26 17:45:52 -07:00
Henrik Lissner
cf1fa4eeba Fix #5297: don't defer lv incrementally on magit
transient no longer depends on it.
2021-07-26 02:57:33 -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
Henrik Lissner
cac9158b36 completion/vertico: use fd for counsel-find
If available.
2021-07-25 18:02:46 -04:00
Henrik Lissner
617fc7f1cc
Merge pull request #5296 from Wetlize/add-helpful-update-kbd
editor/evil: Add gr keybinding to refresh `helpful` buffers
2021-07-25 17:58:50 -04:00
Henrik Lissner
dd9657d90d Fix SPC f F w/ vertico + consult
Not a perfect analogue to counsel-file-jump, but it's a start (and
better than the previous no-op).
2021-07-25 17:55:59 -04:00
Henrik Lissner
54a556c2fa lang/emacs-lisp: add flycheck-package 2021-07-25 16:37:28 -04:00
Henrik Lissner
91e1eac024 Fix doom/delete-backward-word errors in minibuffer
The cause of the error is harmless, but the error itself was causing
breakage in the minibuffer.
2021-07-25 16:26:47 -04:00
Henrik Lissner
2f577482a0 Remove docs/CNAME
Was committed prematurely.
2021-07-25 15:47:58 -04:00
Henrik Lissner
b92caaa3c2 completion/vertico: reformatting 2021-07-25 15:47:58 -04:00
Henrik Lissner
cfcf7e0d03 Open embark grep buffers in popup 2021-07-25 15:47:58 -04:00
Henrik Lissner
ce905b9246 Expand latex snippets in org-mode fragments on TAB 2021-07-25 15:41:29 -04:00
Wetlize
e12519d250 editor/evil: Add gr keybinding to refresh helpful buffers 2021-07-25 22:36:01 +03:00
Henrik Lissner
017ada67c4
Merge pull request #5295 from iyefrat/vertico-export-fix
vertico: require embark in +vertico/embark-export-write
2021-07-25 12:26:11 -04:00
Itai Y. Efrat
c4a2b0bb26 vertico: require embark in +vertico/embark-export-write
needed now that embark is lazy loaded
2021-07-25 19:05:52 +03:00
Henrik Lissner
cb4e13e387
Merge pull request #5288 from iyefrat/vertico-file-search
vertico: remove +fuzzy check in +vertico-file-search
2021-07-25 04:58:56 -04:00
Itai Y. Efrat
83858fcaf9 vertico: remove +fuzzy check in +vertico-file-search
Doesn't do anything, it's a leftover from when the function was ported
from the ivy module.
2021-07-25 11:50:45 +03:00
Henrik Lissner
4ac5332a1d
Merge pull request #5271 from Wetlize/add-roam2
lang/org: Add `+roam2` flag for org-roam v2
2021-07-25 04:13:03 -04:00
Henrik Lissner
10a42a99f6
Merge pull request #4664 from Emiller88/selectrum
Add Vertico module
2021-07-25 04:12:19 -04:00
Henrik Lissner
5d956068a8 Create CNAME 2021-07-25 00:04:37 -04:00
Itai Y. Efrat
beb0b445d8 vertico: prepare for merge...
- move TODO.org to discourse (https://discourse.doomemacs.org/t/vertico-module-tasklist/1386)
- update README date
- add @iyefrat as maintainer
2021-07-25 02:56:03 +03:00
Itai Y. Efrat
e2cd827f96 vertico: add variable to set company completion styles 2021-07-25 02:52:04 +03:00
Itai Y. Efrat
aff25b132b Bump :checkers spell
d12frosted/flyspell-correct@4042336 -> d12frosted/flyspell-correct@0035795

flyspell-correct got some completing-read improvements relevant to
completion/vertico
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
f94b985244 Bump :tools biblio
bdarcus/bibtex-actions@b1ddbb3 -> bdarcus/bibtex-actions@6e3a194
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab

bibtex-actions is way out of date, and bibtex-completion has a new
org-cite improvement
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
a0e384fe8e Bump :completion vertico
minad/consult@5fb6248 -> minad/consult@28f9ba8
minad/marginalia@d4c2028 -> minad/marginalia@a3a8edb
minad/vertico@e1faeb0 -> minad/vertico@4a90297
oantolin/embark@9d56be1 -> oantolin/embark@be03ce9
oantolin/orderless@2646dad -> oantolin/orderless@1e84120
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
a4093e90fe vertico: fix unused lexical variable error 2021-07-25 02:52:04 +03:00
Itai Y. Efrat
c12fb64c98 vertico: defer loading of embark and orderless 2021-07-25 02:52:04 +03:00
Itai Y. Efrat
3f1016753d vertico: various refactors...
- unify `map!` statements when possible
- rename `+vertico--embark-target-package!` to
  `+vertico--embark-target-package` and autoload it
- set `completion-in-region-function` to a wrapper function instead of
  changing it with a hook
- use `:override` advice instead of `fset` for `multi-occur`
- document what `vertico-directory-tidy` does
- move `:init` contents to `:config` when possible
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
770084fdda vertico: use consult-line in +default/search-buffer
While it only gives one candidate per line, it's more important to have
something that uses the completion UI
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
29bd530970 vertico: use vertico-directory-tidy
cleans up shadowed paths automatically
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
d0f4c5f03c vertico: use all-the-icons-completion-marginalia-setup 2021-07-25 02:52:04 +03:00
Itai Y. Efrat
21b91e5e1f Bump :completion vertico
minad/vertico@9f6cd5d -> minad/vertico@e1faeb0
minad/consult@f17db95 -> minad/consult@5fb6248
oantolin/embark@acbe1cb -> oantolin/embark@9d56be1
minad/marginalia@3bf0a4d -> minad/marginalia@d4c2028
iyefrat/all-the-icons-completion@975345f -> iyefrat/all-the-icons-completion@24cdb3b
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
099f8510bb vertico: add consult buffer source for org buffers 2021-07-25 02:52:04 +03:00
Itai Y. Efrat
f8a64c8767 vertico: pass universal argument from vertico...
motion preview commands to underlying motion commands.
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
41e657f70f vertico: remove :demand t from use-package's
It didn't do anything for the `orderless` statement, and we can setup
`embark-consult` correctly without it.
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
34f8e1fdec vertico: Improve README and update TODO...
- Add basic configuration instructions
- Add Vertico keybindings
- Improve =C-c C-e= documentation
- Prepare TODO for PR review
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
a0eb4e9b65 completion/selectrum -> completion/vertico, part 3
- Rename all functions and variables in the module to reflect the
  namechange (and the irc jump function)
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
f9e1c99b2b completion/selectrum -> completion/vertico, part 1
- Use `vertico` as default completion engine
- Drop `selectrum` and `selectrum-prescient` support
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
dc6da589be selectrum: fix false positive marginalia annotation...
for `flycheck-error-list-set-filter`.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
794b8c2383 selectrum: add vertico-repeat support
Also change the `vertico` recipe to be able to use extensions.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
29c49f727e selectrum: use consult-completing-read-multiple 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
debba41403 Bump :completion selectrum
minad/vertico@c915775 -> minad/vertico@9f6cd5d
raxod502/selectrum@a19bbe9 -> raxod502/selectrum@48ea51a
minad/consult@f1ae224 -> minad/consult@f17db95
minad/marginalia@e31e03c -> minad/marginalia@3bf0a4d
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
bc9d2bf3a4 selectrum: better completion-in-region-function
`consult-completion-in-region` isn't meant to be used without a vertical
completion framework
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
814c5b5c0c selectrum: improve company advice
- try `basic` and `partial-completion` completion styles before
  `orderless`, since `company-mode` is usually used in in-buffer
  completions where these often give much more relevant results than
  orderless, which can still be accessed by `&`.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
d86375a468 selectrum: add icon support
Use the package `all-the-icons-completion` to add icons to vertical
completion buffers.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
92586cacd4 selectrum: remove doom-project-find-file hack
This solution doesn't rely on condition evaluation order, and doesn't
contain `featurep!`'s unnecessarily.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
e65dffd790 selectrum: remove selectrum-minibuffer-map from...
`+default-minibuffer-maps`.

It's derived from `minibuffer-local-map` so this is unnecessary.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
d3eff82b9d selectrum: add experimental vertico flag 2021-07-25 02:50:42 +03:00