aboutsummaryrefslogtreecommitdiff
path: root/evil-states.el
diff options
context:
space:
mode:
authorFrank Fischer <frank-fischer@shadow-soft.de>2015-06-15 13:01:13 +0200
committerFrank Fischer <frank-fischer@shadow-soft.de>2015-06-15 13:01:13 +0200
commitc05944eaa529e5bcd25bc87951dd7d53bbac2976 (patch)
treef70026b3662f14166cf278803a5691840779bf85 /evil-states.el
parent7f3bd5342154b829ba284599288387de1ce912c9 (diff)
disable `overwrite-mode` when entering normal-state (re #528)
Diffstat (limited to 'evil-states.el')
-rw-r--r--evil-states.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/evil-states.el b/evil-states.el
index 5740f48..319b121 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -39,6 +39,7 @@ AKA \"Command\" state."
:exit-hook (evil-repeat-start-hook)
(cond
((evil-normal-state-p)
+ (overwrite-mode -1)
(add-hook 'post-command-hook #'evil-normal-post-command nil t))
(t
(remove-hook 'post-command-hook #'evil-normal-post-command t))))