Set some initial states to insert

This commit is contained in:
Tom Willemse 2014-12-28 01:28:36 +01:00
parent f227653717
commit cebd95b07a

View file

@ -1024,7 +1024,8 @@ from myaethon2.core.decorators import (
jabber-chat-mode diff-mode prodigy-mode
calculator-mode messages-buffer-mode
help-mode prodigy-view-mode eww-mode))
(evil-set-initial-state 'git-commit-mode 'normal)
(evil-set-initial-state 'git-commit-mode 'insert)
(add-hook 'org-capture-mode-hook #'evil-insert-state)
(require 'evil-nerd-commenter)
(define-key evil-normal-state-map ",s" 'oni:evil-sort-lines-operator)
(add-hook 'before-save-hook #'oni:maybe-switch-to-normal-state))