Commit Graph

28 Commits

Author SHA1 Message Date
c1cbfa03f7 selectrum: use orderless by default 2021-07-25 02:49:41 +03:00
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
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
19c07444e7 selectrum: Replace obsolete selectrum-active-p
https://github.com/raxod502/selectrum/pull/521
2021-07-25 02:49:41 +03:00
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
b9e34835c7 selectrum: update bindings 2021-07-25 02:49:41 +03:00
7e51f98b3f selectrum: add C-SPC binding (half works) 2021-07-25 02:49:41 +03:00
2cae7455fd selectrum: deactivate slow consult previews
deactivate previews for:
- consult-bookmark
- consult-recentf-file
2021-07-25 02:49:41 +03:00
a51c03900b Set up consult-xref if selectrum is enabled 2021-07-25 02:49:41 +03:00
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
1b74d822c3 selectrum: orderless now works 2021-07-25 02:49:41 +03:00
3c55105622 selectrum: annotate persp-switch-to-buffer 2021-07-25 02:49:40 +03:00
1d43c733ea selectrum: fix marginalia not loading on +prescient
`:after selectrum` is unnecessary anyway
2021-07-25 02:49:40 +03:00
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
deed316283 fix(selectrum): Set max window height to 17
This mimics ivy now
2021-07-25 02:49:40 +03:00
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
5216ba411f style(selectrum): Alphabetize and align binds 2021-07-25 02:49:40 +03:00
a1293a076b feat(selectrum): Add consult-mark 2021-07-25 02:49:40 +03:00
bc13b4a5c2 feat(selectrum): Add bookmark command 2021-07-25 02:49:40 +03:00
d47f0d6ab6 feat(selectrum): Set window height to match ivy 2021-07-25 02:49:40 +03:00
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 2021-07-25 02:49:40 +03:00
d760474e1d fix(selectrum): Move orderless/selectrum config...
to be only under `use-package! orderless`
2021-07-25 02:49:40 +03:00
3afb712452 fix(selectrum): Move prescient out of nested use-package 2021-07-25 02:49:40 +03:00
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
a0ff8d42c1 lazy-load embark 2021-07-25 02:49:40 +03:00
f4517d890f set prescient things on selectrum-mode 2021-07-25 02:49:40 +03:00
65c153796e Add selectrum project search 2021-07-25 02:49:40 +03:00
21a8694727 add selectrum module 2021-07-25 02:49:40 +03:00