diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/init.el b/init.el index 8abd171..81e1d52 100644 --- a/init.el +++ b/init.el | |||
@@ -236,6 +236,11 @@ | |||
236 | (setup imenu | 236 | (setup imenu |
237 | (:option imenu-auto-rescan t)) | 237 | (:option imenu-auto-rescan t)) |
238 | 238 | ||
239 | ;;;;; Setup `electric-pair-mode' in the minibuffer only with `eval-expression' | ||
240 | (add-hook 'minibuffer-setup-hook (defun hook--electric-pair-minibuffer () | ||
241 | (when (eq this-command 'eval-expression) | ||
242 | (electric-pair-mode +1) | ||
243 | (show-paren-mode +1)))) | ||
239 | ;;;; Cursor | 244 | ;;;; Cursor |
240 | (setc cursor-type 'bar | 245 | (setc cursor-type 'bar |
241 | cursor-in-non-selected-windows 'hollow) | 246 | cursor-in-non-selected-windows 'hollow) |
@@ -308,9 +313,6 @@ | |||
308 | (setup eww | 313 | (setup eww |
309 | (:hook acdw/reading-mode)) | 314 | (:hook acdw/reading-mode)) |
310 | 315 | ||
311 | (add-hook 'text-mode-hook #'goto-address-mode) | ||
312 | (add-hook 'prog-mode-hook #'goto-address-prog-mode) | ||
313 | |||
314 | ;;;; Eshell | 316 | ;;;; Eshell |
315 | (setup eshell | 317 | (setup eshell |
316 | (defun eshell-quit-or-delete-char (arg) | 318 | (defun eshell-quit-or-delete-char (arg) |