From 15a2d0a475aa162d43aed6b0c8f41fd78fffc14e Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Sun, 16 Jan 2022 02:32:18 +0530 Subject: [PATCH] Replace ido-mini with consult-buffer --- init.org | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/init.org b/init.org index 257ce14..0e48458 100644 --- a/init.org +++ b/init.org @@ -99,6 +99,7 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o This needs to be before =boon=/=exwm=, or you get a "failed to define function ido-mini" error when you press the keybinding. #+BEGIN_SRC emacs-lisp (use-package ido-mini + :disabled t :demand :load-path "~/.emacs.d/contrapunctus/ido-mini/" :bind ("C-x C-l" . ido-mini)) @@ -133,7 +134,7 @@ This needs to be before =boon=/=exwm=, or you get a "failed to define function i ([?\s-b] . delete-other-windows) ([?\s-m] . contrapunctus-general-hydra/body) - ([?\s-w] . ido-mini) + ([?\s-w] . consult-buffer) ([?\s-v] . exwm-input-toggle-keyboard))) #+END_SRC Use window title for buffer names. @@ -1485,8 +1486,8 @@ Suggestion by lampilelo for extending =iso-transl-ctl-x-8-map= (https://dpaste.c ;; are these being buggy? ;; ("(" . boon-navigate-backward) ;; (")" . boon-navigate-forward) - ("M" . ido-mini) - ("H" . ido-mini) + ("M" . consult-buffer) + ("H" . consult-buffer) ;; these I prefer in their Dvorak positions rather than their QWERTY positions ("/" . undo-tree-undo) ("?" . undo-tree-redo) @@ -1526,11 +1527,6 @@ Suggestion by lampilelo for extending =iso-transl-ctl-x-8-map= (https://dpaste.c (derived-mode-p 'comint-mode))) (setq hi-lock-auto-select-face t) ;; (define-key boon-command-map (kbd "x d f") nil) - (general-def boon-command-map - "M" 'ido-mini - "H" 'ido-mini - ;; "x d" 'dired-jump - ) ;; :hook ;; ((text-mode . turn-on-boon-mode) ;; (prog-mode . turn-on-boon-mode) @@ -3407,7 +3403,7 @@ But with =initials=, the desired completion is often buried in the results. That "M-" 'dired-jump "" 'save-buffer "M-" 'find-file - "" 'ido-mini + "" 'consult-buffer "M-" 'ibuffer "" 'execute-extended-command "M-" 'text-scale-adjust