Rename oni:evil-sort-operator

This commit is contained in:
Tom Willemse 2014-08-26 11:21:29 +02:00
parent b3861837b0
commit f719e35fbf

View file

@ -1020,7 +1020,7 @@ from myaethon2.core.decorators import (
(add-to-list 'eshell-output-filter-functions #'eshell-truncate-buffer))
(stante-after evil
(evil-define-operator oni:evil-sort-operator (beg end)
(evil-define-operator oni:evil-sort-lines-operator (beg end)
"Sort text."
:move-point nil
:type line
@ -1037,7 +1037,7 @@ from myaethon2.core.decorators import (
help-mode))
(evil-set-initial-state 'git-commit-mode 'normal)
(require 'evil-nerd-commenter)
(define-key evil-normal-state-map ",s" 'oni:evil-sort-operator)
(define-key evil-normal-state-map ",s" 'oni:evil-sort-lines-operator)
(add-hook 'before-save-hook #'oni:maybe-switch-to-normal-state))
(stante-after eww