From 7b17ebecd63ce78b7de5ba169886fc3a8a35faa0 Mon Sep 17 00:00:00 2001 From: rekado Date: Wed, 3 Jun 2015 14:27:37 +0200 Subject: init: don't let the cursor enter the minibuffer prompt --- init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index fc43d84..ba0dce6 100644 --- a/init.el +++ b/init.el @@ -206,6 +206,10 @@ (global-hl-line-mode 1) ; turn on highlighting current line (set-face-background 'hl-line "#222") (set-face-attribute hl-line-face nil :underline nil) + +;; don't let the cursor go into minibuffer prompt, HT Xah Lee +(setq minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)) + (global-undo-tree-mode 1) (setq debbugs-gnu-default-packages '("emacs" "guix")) -- cgit v1.2.3