Manually set ,, to the comment operator

This commit is contained in:
Tom Willemse 2015-06-17 10:38:51 +02:00
parent 34aeb28dda
commit 32c9f20364

View file

@ -1072,6 +1072,8 @@ from myaethon2.core.decorators import (
(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 ",," 'evilnc-comment-operator)
(define-key evil-normal-state-map ",," 'evilnc-comment-operator)
(define-key evil-normal-state-map ",s" 'oni:evil-sort-lines-operator)
(add-hook 'before-save-hook #'oni:maybe-switch-to-normal-state)
(evil-declare-key 'motion org-mode-map (kbd "RET") #'org-return)