aboutsummaryrefslogtreecommitdiff
path: root/extras/vim-like.el
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vim-like.el')
-rw-r--r--extras/vim-like.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/vim-like.el b/extras/vim-like.el
index 9506dc1..d6a8db6 100644
--- a/extras/vim-like.el
+++ b/extras/vim-like.el
@@ -28,5 +28,9 @@
:config
(evil-mode)
+ ;; If you use Magit, start editing in insert state
+ (add-hook 'git-commit-setup-hook 'evil-insert-state)
+
;; Configuring initial major mode for some modes
+ (evil-set-initial-state 'eat-mode 'emacs)
(evil-set-initial-state 'vterm-mode 'emacs))