From 3ccd97388f0d1dd33d63a4463d057dbecd0df39d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 31 Jan 2017 04:31:47 -0500 Subject: [PATCH] core-ui: echo-keystrokes settings --- core/core-ui.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index 0fc48466a..c3a02733a 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -5,7 +5,6 @@ (setq bidi-display-reordering nil ; disable bidirectional text for tiny performance boost blink-matching-paren nil ; don't blink--too distracting cursor-in-non-selected-windows nil ; hide cursors in other windows - echo-keystrokes 0.02 ; show typed keys in minibuffer frame-inhibit-implied-resize t ;; remove continuation arrow on right fringe fringe-indicator-alist (delq (assq 'continuation fringe-indicator-alist) @@ -38,6 +37,12 @@ ;; auto-enabled in Emacs 25+; I'd rather enable it manually (global-eldoc-mode -1) +;; show typed keystrokes in minibuffer +(setq echo-keystrokes 0.02) +;; ...but hide them while isearch is active +(add-hook! isearch-mode (setq echo-keystrokes 0)) +(add-hook! isearch-mode-end (setq echo-keystrokes 0.02)) + ;; A minor mode for toggling the mode-line (defvar doom--hidden-modeline-format nil "The modeline format to use when `doom-hide-modeline-mode' is active. Don't