Commit graph

30 commits

Author SHA1 Message Date
Itai Y. Efrat
49a5c51615 selectrum: fix bugs when counsel is loaded (hack)
some doom functions check the completion module with `fboundp`'s instead
of `featurep!`, and counsel can be loaded by using e.g. `lispy`. we add
temporary fixes for this by checking for selectrum stuff first, but this
should be given a more robust fix later on

also we document the selectrum PR's hacks in the TODO.org

see discussion on #5013
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
ed922a62cb selectrum: improve bindings
- add missing emacs bindings
- properly feature guard swiper related bindings
- for selectrum, unbind `SPC s B` and temporarily bind `SPC s s` to
  isearch to prevent don't get errors until we decide what to do there.
- update readme to reflect that
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
c349a0a046 selectrum: remove automatic initialisms for M-x etc
Doesn't work if we want to use selectrum highlighting optimizations, see
raxod502/selectrum#539.

Also document `SPC /` being slow.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
157a6c5c4b selectrum: partially fix selectrum-repeat issue
- doesn't restore selection upon repeat, might be upstream issue
- document some bugs/todos
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
23b4dfa521 selectrum: document bugs in TODO.org 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
4e74a221cc selectrum: rework consult previews
- add `C-M-j` and `C-M-k` as preview scrolling keys
- add `consult-theme` to functions that don't get previewed
  automatically (also it works now)
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
1fe0ad318b selectrum: improve :tools lookup integration
- move `consult-xref` stuff to `:tools lookup` where it belongs
- add selectrum functionality where possible, document what's beyond the
  scope of this PR
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
693eb3c9a4 selectrum: add +irc/selectrum-jump-to-channel 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
26a310d04c selectrum: improve ivy parity
- add `completion-at-point` as analogue to `cousnel-company`
- fix emacs-bindings `counsel-company` binding to respect helm and selectrum
- add org jump commands `consult-org-heading` and `consult-org-agenda` bindings
- add `consult-history` as `counsel-minibuffer-history` analogue
- add support for `doom/help-search`
- update TODO.org
2021-07-25 02:50:31 +03:00
Itai Y. Efrat
8957f02ab2 selectrum: improve wgrep
- add `:demand t` to `embark-consult` so it works on first call
- add `C-c C-e` to `consult-grep`
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
02cf4bf3fa selectrum: regorganize TODO.org 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
b9757e75ed selectrum: update bibtex-actions config
- fix loading order issue
- include (temporary?) binding in `SPC n b` to `bibtex-actions-open-entry`
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
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
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
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
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
8eec594ebc selectrum: update TODO.org 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
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 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