mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 04:20:57 +01:00
finally remove ido for recentf as well
- replace it with consult-recent-file - tune M-x completion again a little
This commit is contained in:
@@ -47,8 +47,7 @@ via [[http://whattheemacsd.com/setup-ido.el-02.html][whattheemacs.d]]"
|
||||
;; FIXME: set this to complete*
|
||||
;; ("TAB" . #'vertico-next)
|
||||
;; next try: use vanilla complete on tab, maybe better?
|
||||
("TAB" . #'minibuffer-complete)
|
||||
))
|
||||
("TAB" . #'minibuffer-complete)))
|
||||
|
||||
|
||||
|
||||
@@ -102,7 +101,8 @@ via [[http://whattheemacsd.com/setup-ido.el-02.html][whattheemacs.d]]"
|
||||
(use-package consult
|
||||
;; Replace bindings. Lazily loaded due by `use-package'.
|
||||
:bind (;; C-c bindings in `mode-specific-map'
|
||||
("C-x b" . consult-buffer))
|
||||
("C-x b" . consult-buffer)
|
||||
("C-x C-r" . consult-recent-file)) ;; replaces recentf
|
||||
|
||||
;; Enable automatic preview at point in the *Completions* buffer. This is
|
||||
;; relevant when you use the default completion UI.
|
||||
@@ -130,6 +130,20 @@ via [[http://whattheemacsd.com/setup-ido.el-02.html][whattheemacs.d]]"
|
||||
(push consult--source-perspective consult-buffer-sources)))
|
||||
|
||||
|
||||
;; change directory while opening a file etc
|
||||
(use-package consult-dir
|
||||
:ensure t
|
||||
:bind (("C-x C-d" . consult-dir)
|
||||
:map vertico-map
|
||||
("C-x C-d" . consult-dir)
|
||||
("C-x C-j" . consult-dir-jump-file)
|
||||
|
||||
:map minibuffer-local-completion-map
|
||||
("C-x C-d" . consult-dir)
|
||||
))
|
||||
|
||||
|
||||
|
||||
(use-package
|
||||
embark-consult
|
||||
:after (embark consult))
|
||||
|
||||
Reference in New Issue
Block a user