diff --git a/configs/init-minibuffer.el b/configs/init-minibuffer.el index 4f6c392..81c0fbf 100644 --- a/configs/init-minibuffer.el +++ b/configs/init-minibuffer.el @@ -73,15 +73,16 @@ ;; Minibuffer history :map minibuffer-local-map - ("" . minibuffer-keyboard-quit) + ("" . minibuffer-keyboard-quit) ;; Cacelar minibuffer con escape (más rápido que C-g) + ("C-" . newline) ;; Insertar nueva línea estando en el minibufer (Mas rápido que C-q C-j) ("C-s" . (lambda () - "Insert the currunt symbol." + "Insert the current symbol." (interactive) (insert (save-excursion (set-buffer (window-buffer (minibuffer-selected-window))) - (or (thing-at-point 'symbol t) ""))))) - ("M-s" . consult-history) ;; orig. next-matching-history-element - ("M-r" . consult-history)) ;; orig. previous-matching-history-element + (or (thing-at-point 'symbol t) ""))))) ;; Al presionar por segunda ves C-s busca el símbolo actual. + ("M-s" . consult-history) ;; orig. historial de búsqueda + ("M-r" . consult-history)) ;; orig. historual de búsqueda ;; Enable automatic preview at point in the *Completions* buffer. This is ;; relevant when you use the default completion UI.