Change cursor for `overwrite-mode'

This commit is contained in:
Case Duckworth 2021-03-12 17:32:48 -06:00
parent 884343deb4
commit a7454b956f
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@
(cursor-in-non-selected-windows hollow)))
(defun hook--overwrite-mode-change-cursor ()
(setq cursor-type (if overwrite-mode t 'bar)))
(setq cursor-type (if overwrite-mode 'hbar 'bar)))
(add-hook 'overwrite-mode-hook #'hook--overwrite-mode-change-cursor)
;; Scrolling