Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use evil motion state for builtin emacs completion lists #1515

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion evil-keybindings.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@

;;; Buffer-menu

(evil-add-hjkl-bindings Buffer-menu-mode-map 'motion)
(evil-add-hjkl-bindings Buffer-menu-mode-map 'motion
(kbd "RET") 'Buffer-menu-select)


;;; completion-list

(evil-add-hjkl-bindings completion-list-mode-map 'motion
(kbd "TAB") 'next-completion
(kbd "RET") 'choose-completion)

;; dictionary.el

Expand Down
1 change: 1 addition & 0 deletions evil-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ expression matching the buffer's name and STATE is one of `normal',
(defcustom evil-motion-state-modes
'(apropos-mode
Buffer-menu-mode
completion-list-mode
calendar-mode
color-theme-mode
command-history-mode
Expand Down