selectrum: improve SPC b b

- Now uses a consult backend
- has buffer preview, per workspace narrowing with `$n SPC`
This commit is contained in:
Itai Y. Efrat 2021-05-21 16:38:54 +03:00
parent 23a63ba5c4
commit 188fc09d72
4 changed files with 59 additions and 10 deletions

View file

@ -91,7 +91,8 @@
[remap switch-to-buffer-other-window] #'consult-buffer-other-window
[remap switch-to-buffer-other-frame] #'consult-buffer-other-frame
[remap yank-pop] #'consult-yank-pop
[remap describe-bindings] #'embark-bindings)
[remap describe-bindings] #'embark-bindings
[remap persp-switch-to-buffer] #'+selectrum/switch-workspace-buffer)
(setq completion-in-region-function #'consult-completion-in-region)
:config
(recentf-mode)