Minor, general refactors

This commit is contained in:
Henrik Lissner 2019-03-07 23:21:58 -05:00
parent 8f733c2ab5
commit 748b197676
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 17 additions and 15 deletions

View file

@ -29,9 +29,9 @@
(if (not (featurep 'evil))
(delete-selection-mode +1)
(defun turn-off-delete-selection-mode () (delete-selection-mode -1))
(defun +default|disable-delete-selection-mode () (delete-selection-mode -1))
(add-hook 'evil-insert-state-entry-hook #'delete-selection-mode)
(add-hook 'evil-insert-state-exit-hook #'turn-off-delete-selection-mode))
(add-hook 'evil-insert-state-exit-hook #'+default|disable-delete-selection-mode))
(when (featurep! +smartparens)

View file

@ -35,6 +35,7 @@
(propertize (format "%s%d"
(if indent-tabs-mode "" "")
tab-width)
'face (if (doom-modeline--active) 'mode-line 'mode-line-inactive)
'mouse-face 'mode-line-highlight
'help-echo
(let ((subsegs