Commit graph

10163 commits

Author SHA1 Message Date
Itai Y. Efrat
c1cbfa03f7 selectrum: use orderless by default 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
6dfc32441d selectrum: improve file category commands...
now when pressing backspace on `/`, the input will go up one directory.
2021-07-25 02:49:41 +03:00
Gerry Agbobada
e181318885 Setup consult as completion-in-region fallback
This allows `corfu` users to enable corfu and let it noop when _not_ using a graphical display.

Having the function setup in `init` means company can properly override it when it’s activated later.
2021-07-25 02:49:41 +03:00
James Conroy-Finn
19c07444e7 selectrum: Replace obsolete selectrum-active-p
https://github.com/raxod502/selectrum/pull/521
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
f532bfe34b selectrum: document embark-act binding
Also add `C-c C-e` TODO
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
ff9a15e683 selectrum: rework live-previews
- for the slow consult functions it's bound to `C-SPC`
- for the rest of them the current approach wasn't working out great so
  it's removed for the time being.
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
7ec7134947 selectrum: improve ivy parity
- add `:pg` bindings
- add `selectrum-minibuffer-map` to `+default-minibuffer-maps`
- add `consult-notmuch`
- add selectrum option for `mu4e-completing-read-function`
- document more parity failings
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
e8dc511c74 selectrum: move consult-lsp to :tools lsp
where it belongs
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
0e9864d308 selectrum: fix project switching with workspaces
Replicates ivy behavior of opening file in the new workspace
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
8e6371760a selectrum: add spellcheck support 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
b9e34835c7 selectrum: update bindings 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
a3c978ba36 selectrum: add bibtex-actions to tools/biblio 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
7e51f98b3f selectrum: add C-SPC binding (half works) 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
2cae7455fd selectrum: deactivate slow consult previews
deactivate previews for:
- consult-bookmark
- consult-recentf-file
2021-07-25 02:49:41 +03:00
Sebastian Sturm
a51c03900b Set up consult-xref if selectrum is enabled 2021-07-25 02:49:41 +03:00
Sebastian Sturm
0cdc7ec8e1 Add selectrum branch for SPC-* symbol search
other +default/search-... convenience methods already support
Selectrum explicitly, so perhaps there's a good reason not to
do the same for +default/search-project-for-symbol-at-point?
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
55e4afa77f selectrum: update TODO.org 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
dc5442f78f selectrum: consult-recent-files now works on startup
consult doesn't turn on refentf-mode by itself, you need to do it
manually.
It works, but is very slow on first try.
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
1b74d822c3 selectrum: orderless now works 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
93008e1784 Bump :completion selectrum
raxod502/selectrum@9c5f142 -> raxod502/selectrum@093f7e9
raxod502/prescient.el@bf0ddeb -> raxod502/prescient.el@ed2b762
minad/consult@846c715 -> minad/consult@e04a404
oantolin/embark@5f30978 -> oantolin/embark@4d7e8e4
minad/marginalia@668265a -> minad/marginalia@5159256
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
750721492c selectrum: add consult-lsp
- add `consult-lsp` to tools/lsp if the selectrum module is active
- add the selectrum/consult version of workspace symbol search under `SPC c j/J`
- update TODO.org
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
3c55105622 selectrum: annotate persp-switch-to-buffer 2021-07-25 02:49:40 +03:00
Itai Y. Efrat
1d43c733ea selectrum: fix marginalia not loading on +prescient
`:after selectrum` is unnecessary anyway
2021-07-25 02:49:40 +03:00
Itai Y. Efrat
4aaf7e571c selectrum: fix +selectrum-file-search 2021-07-25 02:49:40 +03:00
Itai Y. Efrat
d1f241479c Bump :completion selectrum
raxod502/selectrum@52b1129 -> raxod502/selectrum@9c5f142
raxod502/prescient.el@8573df9 -> raxod502/prescient.el@bf0ddeb
oantolin/orderless@44935d8 -> oantolin/orderless@87ab7e4
minad/consult@63f0a89 -> minad/consult@846c715
oantolin/embark@33e9af8 -> oantolin/embark@5f30978
minad/marginalia@f263745 -> minad/marginalia@668265a
2021-07-25 02:49:40 +03:00
Itai Y. Efrat
8eec594ebc selectrum: update TODO.org 2021-07-25 02:49:40 +03:00
Itai Y. Efrat
02d4b7d1ec selectrum: add features section to README
Shamelessly stolen from Ivy, still a WIP
2021-07-25 02:49:40 +03:00
Bruce D'Arcus
54cf600cf5 Bump :completion selectrum
raxod502/selectrum@ad9d9f02d6 -> raxod502/selectrum@52b1129
raxod502/prescient.el@42adc802d3 -> raxod502/prescient.el@8573df9
oantolin/orderless@edce950fe1 -> oantolin/orderless@44935d8
minad/consult@1b66afd895 -> minad/consult@63f0a89
oantolin/embark@26e7311791 -> oantolin/embark@33e9af8
minad/marginalia@3e061a0fb5  -> minad/marginalia@f263745
2021-07-25 02:49:40 +03:00
Bruce D'Arcus
261927e9fb add orderless style dispatchers
Adds style dispatchers, with the examples on the orderless README.

https://github.com/oantolin/orderless#style-dispatchers
2021-07-25 02:49:40 +03:00
Edmund Miller
deed316283 fix(selectrum): Set max window height to 17
This mimics ivy now
2021-07-25 02:49:40 +03:00
Edmund Miller
da75da3ab5 fix(selectrum): Revert to jethro's version of file-search
Co-authored-by: jethrokuan <jethrokuan95@gmail.com>
2021-07-25 02:49:40 +03:00
Edmund Miller
4fb1b7ed23 fix(selectrum): Tear +selectrum-file-search down to consult-ripgrep 2021-07-25 02:49:40 +03:00
Edmund Miller
74b100cd54 fix(selectrum): Apply changes from minad's review
selectrum-fix-minibuffer-height has been deprecated.

The selectrum-refine-candidates-function should not be set. Only
selectrum-highlight-candidates-function is necessary in order to get
highlighting, when orderless-skip-highlighting is set.

Co-authored-by: minad <mail+gh@daniel-mendler.de>
2021-07-25 02:49:40 +03:00
Edmund Miller
dfce5ddb17 feat(selectrum): Add +selectrum/search-symbol-at-point 2021-07-25 02:49:40 +03:00
Edmund Miller
5216ba411f style(selectrum): Alphabetize and align binds 2021-07-25 02:49:40 +03:00
Edmund Miller
a1293a076b feat(selectrum): Add consult-mark 2021-07-25 02:49:40 +03:00
Edmund Miller
bc13b4a5c2 feat(selectrum): Add bookmark command 2021-07-25 02:49:40 +03:00
Itai Y. Efrat
09845be083 feat(selectrum): Add Search buffer binding 2021-07-25 02:49:40 +03:00
Edmund Miller
d47f0d6ab6 feat(selectrum): Set window height to match ivy 2021-07-25 02:49:40 +03:00
Edmund Miller
5b70b888b8 feat(selectrum): Add selectrum-repeat binding 2021-07-25 02:49:40 +03:00
Edmund Miller
a23a96633b Update modules/completion/selectrum/TODO.org
Co-authored-by: Bruce D'Arcus <bdarcus@gmail.com>
2021-07-25 02:49:40 +03:00
Edmund Miller
b741d6a3b9 fix(selectrum): Remove unnecessary advice overrides 2021-07-25 02:49:40 +03:00
Edmund Miller
baa5b8f307 fix(selectrum): Use jcf +selectrum-file-search
Co-authored-by: jcf <github@invetica.co.uk>
2021-07-25 02:49:40 +03:00
Edmund Miller
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 2021-07-25 02:49:40 +03:00
Edmund Miller
d760474e1d fix(selectrum): Move orderless/selectrum config...
to be only under `use-package! orderless`
2021-07-25 02:49:40 +03:00
Edmund Miller
3afb712452 fix(selectrum): Move prescient out of nested use-package 2021-07-25 02:49:40 +03:00
Edmund Miller
63cd3099ce Bump :completion selectrum
raxod502/selectrum@HEAD -> raxod502/selectrum@ad9d9f0
raxod502/prescient.el@HEAD -> raxod502/prescient.el@42adc80
oantolin/orderless@HEAD -> oantolin/orderless@edce950
minad/consult@HEAD -> minad/consult@1b66afd
oantolin/embark@HEAD -> oantolin/embark@26e7311
minad/marginalia@HEAD -> minad/marginalia@3e061a0
2021-07-25 02:49:40 +03:00
Edmund Miller
a3d7e5c512 docs(selectrum): Add temporary TODO file 2021-07-25 02:49:40 +03:00
Edmund Miller
155f4f6bdd docs(selectrum): Init README 2021-07-25 02:49:40 +03:00
Edmund Miller
42b3184eae feat(selectrum): Add config from Townk's private config
Co-authored-by: Townk <thiago@rapinialves.com>
2021-07-25 02:49:40 +03:00