Change cursor for `overwrite-mode'
This commit is contained in:
parent
884343deb4
commit
a7454b956f
2
init.el
2
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue