Manually set ,, to the comment operator
This commit is contained in:
parent
34aeb28dda
commit
32c9f20364
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue