Add prodigy-view-mode to emacs-state modes

This commit is contained in:
Tom Willemse 2014-10-29 11:03:10 +01:00
parent 8320ecc9ab
commit c67d9dbec1

View file

@ -1005,15 +1005,29 @@ from myaethon2.core.decorators import (
:type line :type line
(sort-lines nil beg end)) (sort-lines nil beg end))
(mapc (lambda (mode) (evil-set-initial-state mode 'emacs)) (setf evil-emacs-state-modes
'(jabber-roster-mode grep-mode avandu-overview-mode (append evil-emacs-state-modes
avandu-article-mode gnus-summary-mode '(
gnus-article-mode gnus-group-mode Info-mode
magit-status-mode magit-key-mode avandu-article-mode
sql-interactive-mode Info-mode avandu-overview-mode
jabber-chat-mode diff-mode prodigy-mode calculator-mode
calculator-mode messages-buffer-mode diff-mode
help-mode)) gnus-article-mode
gnus-group-mode
gnus-summary-mode
grep-mode
help-mode
jabber-chat-mode
jabber-roster-mode
magit-key-mode
magit-status-mode
messages-buffer-mode
prodigy-mode
prodigy-view-mode
sql-interactive-mode
)))
(evil-set-initial-state 'git-commit-mode 'normal) (evil-set-initial-state 'git-commit-mode 'normal)
(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)