aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/oni-core.el b/oni-core.el
index 60a1ee4..6b198d1 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2023.0805.235739
+;; Version: 2023.0806.000329
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify
@@ -181,7 +181,6 @@ _s_: String list"
(add-hook 'auto-save-hook #'oni-core--ensure-autosave-directory-exists)
(add-hook 'before-save-hook 'time-stamp)
(add-hook 'electric-indent-local-mode-hook #'oni-core--switch-newline-keys)
-(add-hook 'minibuffer-setup-hook 'electric-pair-local-mode)
(add-hook 'prog-mode-hook 'goto-address-prog-mode)
(global-set-key (kbd "C-M-SPC") 'er/expand-region)
@@ -366,6 +365,14 @@ _s_: String list"
;;; Remember the place I left at in files when closing them.
(save-place-mode)
+;;; Minibuffer
+
+(add-hook 'minibuffer-setup-hook 'electric-pair-local-mode)
+(add-hook 'minibuffer-setup-hook 'cursor-intangible-mode)
+
+(setq minibuffer-prompt-properties
+ (append '(cursor-intangible t) minibuffer-prompt-properties))
+
;;; Vertico
(vertico-mode)