diff options
| author | Pierre Neidhardt <ambrevar@gmail.com> | 2018-02-22 18:00:13 +0100 |
|---|---|---|
| committer | Pierre Neidhardt <ambrevar@gmail.com> | 2018-02-22 18:25:35 +0100 |
| commit | 277b55ca8d20edd491587911ed72ad8782715791 (patch) | |
| tree | d6f1e4ebd7bd28ba37552c154aae0afa47bfa2a7 | |
| parent | 3b40848734863b58ee429e5854902126ae4c6ea9 (diff) | |
proced: Use normal state
| -rw-r--r-- | evil-collection-proced.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/evil-collection-proced.el b/evil-collection-proced.el index 67ca8e0..f5d7bd6 100644 --- a/evil-collection-proced.el +++ b/evil-collection-proced.el @@ -31,9 +31,10 @@ (require 'proced) (defun evil-collection-proced-setup () - (evil-set-initial-state 'proced-mode 'motion) - - (evil-define-key 'motion proced-mode-map + "Set up `evil' bindings for `proced'." + (evil-collection-inhibit-insert-state proced-mode-map) + (evil-set-initial-state 'proced-mode 'normal) + (evil-define-key 'normal proced-mode-map (kbd "<return>") 'proced-refine ;; mark @@ -66,7 +67,7 @@ "S" 'proced-format-interactive ;; sort - "oo" 'proced-sort-start ; Refers to "[o]order", Emacs has "s" mentioned in documentation. + "oo" 'proced-sort-start ; Refers to "[o]rder", Emacs has "s" mentioned in documentation. "oO" 'proced-sort-interactive "oc" 'proced-sort-pcpu "om" 'proced-sort-pmem |
