From a2a97a56cec1e241a6d77f4340721630fdc7beb8 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 2 Jan 2021 15:34:08 -0600 Subject: Configure overwrite-mode --- config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.org b/config.org index 63fd469..93a8e71 100644 --- a/config.org +++ b/config.org @@ -904,6 +904,17 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but #+end_src +*** Overwrite mode + + #+begin_src emacs-lisp + (defun acdw/overwrite-mode-change-cursor () + (setq cursor-type (if overwrite-mode t 'bar))) + + (add-hook 'overwrite-mode-hook #'acdw/overwrite-mode-change-cursor) + + (rm/whitelist-add "Ovwrt") + #+end_src + * Programming ** Parentheses -- cgit 1.4.1-21-gabe81