Commit graph

10828 commits

Author SHA1 Message Date
Itai Y. Efrat
3283acbde9 selectrum: use default values for consult async timers
unclear why `consult-async-input-(debounce|throttle)` were set to custom
higher values in the first place.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
53e2c32a69 Bump consult-lsp
gagbo/consult-lsp@ed3cfd2 ->  gagbo/consult-lsp@c882749
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
5a44c1f880 selectrum: remove side effect in irc jump function
`+irc/selectrum-jump-to-channel` previously modified
`+irc--consult-circe-source` in the definition, since `plist-put`, and I
quote from the manual:
"[] may modify plist destructively, or [] may construct a new list
structure without altering the old."
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
f315a60ccc Bump :completion selectrum
raxod502/selectrum@a922b19 -> raxod502/selectrum@a19bbe9
oantolin/orderless@9637d7f -> oantolin/orderless@2646dad
minad/consult@a4b4ced -> minad/consult@f1ae224
minad/consult-flycheck@44e7528 -> minad/consult-flycheck@92b259e
oantolin/embark@0da967a -> oantolin/embark@acbe1cb
minad/marginalia@3f33b38 -> minad/marginalia@e31e03c
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
fad34eb718 selectrum: README changes, TODO overhaul...
- Add explanation for orderless usage
- Minor wording improvements
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
573bd73411 selectrum: annotate more functions 2021-07-25 02:50:42 +03:00
Yoav Marco
540c523023 Selectrum: add embark action to open file in new workspace 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
ebd72b715e selectrum: remove some bindings
- the embark actions use packages that aren't installed or don't work
- the selectrum minibuffer bindings use the super key, which will
  probably conflict with tiling window managers
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
c056e718a8 selectrum: don't override embark-target-finders...
rather, modify it by inserting `+selectrum-embark-target-package!` in the
correct position. overriding it with `setq` is a bad idea since it might
be modified by other packages beforehand, or changed upstream later on.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
e5e75e8dc5 selectrum: override embark-package-map with doom...
related functions
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
e5f3166caf selectrum: add embark target for package! statements 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
8aea99c770 selectrum: rework setq's for selectrum use-package
- display all candidates that fit, displaying only 15 leaves a gap
- move all of them to `:init` since they can be there
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
8c75e07497 selectrum: reorganize keybinding locations
- bind to `minibuffer-local-map` instead of `selectrum-minibuffer-map`
  when possible.
- move bindings and remaps to be under their relevant `use-package!`
  statements.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
4359d96c4c selectrum: use consult-customize for preview keys 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
59ca6186d2 Bump :completion selectrum
minad/consult@4ca7747 -> minad/consult@a4b4ced
minad/consult-flycheck@4ca7747 -> minad/consult-flycheck@44e7528
oantolin/embark@22875aa -> oantolin/embark@0da967a
minad/marginalia@624028c -> minad/marginalia@3f33b38

Note that before this bump consult-flycheck was in the consult repo, but
has since been moved to it's own repo due to consult's pending
submission to ELPA
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
f136521c19 selectrum: sudo-edit -> doom/sudo-find-file...
doom doesn't use `sudo-edit`
also update TODO with subsequent marginalia tasks
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
f29f6beec2 selectrum: embark changes...
- move `marginalia-cycle` binding to `M-A` as it doesn'r work as an
embark action.
- add popup rule to Embark Collect buffers
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
36faa0c258 selectrum: bind embark-act to SPC a and C-;...
not final, might change in the review
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
ed283c6363 selectrum: make workspace source number consistent
The off-by-one of the keybinding and the function input now match
functions like `+workspace/switch-to-$n`
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
14d6613192 selectrum: refactor consult stuff
- use `consult-preview-at-point-mode` instead of `consult-preview-minor-mode`
- better consult preview function detection in `+selectrum/embark-preview`
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
1f3281734a Bump :completion selectrum
minad/consult@556ff4e -> minad/consult@4ca7747
oantolin/embark@a21e510 -> oantolin/embark@22875aa

bumping early to solve `embark-become` bug, see oantolin/embark#230
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
89fd6b66b3 selectrum: add preview to non-consult functions 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
188fc09d72 selectrum: improve SPC b b
- Now uses a consult backend
- has buffer preview, per workspace narrowing with `$n SPC`
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
23a63ba5c4 selectrum: generalize +selectrum/embark-wgrep
now tries to open a writable export of the same vein.
add exports to `wdired` from `find-file` and `occur-edit` from `consult-line`.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
85be33556b selectrum: simplify +selectrum/embark-wgrep
now that oantolin/embark#226 has been resolved.
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
436794aa87 Bump :completion selectrum
raxod502/selectrum@909f614 -> raxod502/selectrum@a922b19
minad/consult@a7964f6 -> minad/consult@556ff4e
oantolin/embark@0086413 -> oantolin/embark@a21e510
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
308c6798d3 selectrum: drop foo! orderless style dispatch
conflicts with `!` final macros.
also elaborate why we should drop the prescient flag
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
747f1e38b3 selectrum: update TODO.org 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
24f2efd8ca selectrum: refactor +irc/selectrum-jump-to-channel 2021-07-25 02:50:42 +03:00
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
23a47acc06 selectrum: set manual preview to all grep variants 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
a52b9cf686 selectrum: change embark-consult-preview-at-point...
to consult-preview-at-point following upstream
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
2868177057 Bump :completion selectrum
raxod502/selectrum@bfefb8e -> raxod502/selectrum@909f614
oantolin/orderless@d97a91f -> oantolin/orderless@9637d7f
minad/consult@c839b82 -> minad/consult@a7964f6
oantolin/embark@7c850c0 -> oantolin/embark@0086413
minad/marginalia@445d283 -> minad/marginalia@624028c
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
5f12afca34 :tools lsp update readme to include consult-lsp 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
e2f1783589 selectrum: pass target to embark-action-indicator
function spec changed upstream
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
5656e397de selectrum: rework orderless style dispatchers
- make all markers both prefixes and suffixes
- add `\`` affix for initialism
- add initialism matching to be on by default in `symbol` and `command`
- category completions
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
2945d2dd33 Bump :completion selectrum
raxod502/selectrum@8629ab5 -> raxod502/selectrum@bfefb8e
oantolin/orderless@87ab7e4 -> oantolin/orderless@d97a91f
minad/consult@51c1437 -> minad/consult@c839b82
oantolin/embark@05aa11b -> oantolin/embark@7c850c0
minad/marginalia@ac4ab98 -> minad/marginalia@445d283
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
f372f3aa2c selectrum: reorganize consult use-package! 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
Wetlize
6330c57bce Sniff for a different symbol in +org-roam-suppress-sqlite-build-a
`org-roam-db-location` is redefined in the :preface section, so we need
to rely on a different symbol to determine whether `org-roam` is loading
or not.
2021-07-25 02:49:45 +03:00
Itai Y. Efrat
1266ac7b24 selectrum: document orderless style dispatchers 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
34bc993a3a selectrum: remove marginalia-annotators
obsolete variable, and set to `heavy` by default now anyway
2021-07-25 02:49:41 +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