Set some initial states to insert
This commit is contained in:
parent
f227653717
commit
cebd95b07a
1 changed files with 2 additions and 1 deletions
|
@ -1024,7 +1024,8 @@ from myaethon2.core.decorators import (
|
||||||
jabber-chat-mode diff-mode prodigy-mode
|
jabber-chat-mode diff-mode prodigy-mode
|
||||||
calculator-mode messages-buffer-mode
|
calculator-mode messages-buffer-mode
|
||||||
help-mode prodigy-view-mode eww-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)
|
(require 'evil-nerd-commenter)
|
||||||
(define-key evil-normal-state-map ",s" 'oni:evil-sort-lines-operator)
|
(define-key evil-normal-state-map ",s" 'oni:evil-sort-lines-operator)
|
||||||
(add-hook 'before-save-hook #'oni:maybe-switch-to-normal-state))
|
(add-hook 'before-save-hook #'oni:maybe-switch-to-normal-state))
|
||||||
|
|
Loading…
Reference in a new issue