tabulated-list: add more bindings

This commit is contained in:
condy 2020-09-28 00:15:54 +08:00 committed by Pierre Neidhardt
parent 3d01df0ba6
commit 3088a02106
1 changed files with 8 additions and 1 deletions

View File

@ -39,7 +39,14 @@
(evil-collection-define-key nil 'tabulated-list-mode-map
"n" nil
"p" nil))
"p" nil)
(evil-set-initial-state 'tabulated-list-mode 'normal)
(evil-collection-define-key 'normal 'tabulated-list-mode-map
"S" 'tabulated-list-sort
"{" 'tabulated-list-narrow-current-column
"}" 'tabulated-list-widen-current-column
"q" 'quit-window))
(provide 'evil-collection-tabulated-list)
;;; evil-collection-tabulated-list.el ends here