aboutsummaryrefslogtreecommitdiff
path: root/extras/vim-like.el
diff options
context:
space:
mode:
authorAshton Wiersdorf <mail@wiersdorf.dev>2024-07-10 16:50:46 -0600
committerAshton Wiersdorf <mail@wiersdorf.dev>2024-07-10 16:50:46 -0600
commitd9c79ecd5e648392382f2f984ed043ea2de3bde5 (patch)
tree590c555c6bc09107c7749124b62a84250f0ac857 /extras/vim-like.el
parent297603b7dc6d94416325645e6130d146515c7249 (diff)
Add Eat config to extras/base.el
Closes #1
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))