Skip to content

Commit

Permalink
ement: add directory-mode bindings, forget/leave room-list bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
progfolio committed Aug 10, 2023
1 parent 1ad283f commit a1a915c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modes/ement/evil-collection-ement.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
:type 'boolean)

(defconst evil-collection-ement-maps '(ement-describe-room-mode-map
ement-directory-mode-map
ement-room-list-mode-map
ement-room-mode-map))

Expand All @@ -62,8 +63,16 @@
(evil-collection-define-key 'normal 'ement-describe-room-mode-map
(kbd "q") 'quit-window)

(evil-collection-define-key 'normal 'ement-directory-mode-map
(kbd "RET") 'ement-directory-RET
(kbd "<return>") 'ement-directory-RET
(kbd "s") 'ement-directory-search
(kbd "q") 'quit-window)

(evil-collection-define-key 'normal 'ement-room-list-mode-map
(kbd "d") 'ement-room-list-kill-buffer
(kbd "x") 'ement-room-leave
(kbd "X") 'ement-forget-room
(kbd "RET") 'ement-room-list-RET
(kbd "<return>") 'ement-room-list-RET)

Expand Down

0 comments on commit a1a915c

Please sign in to comment.