Skip to content

Commit

Permalink
Merge pull request #1059 from fukamachi/vi-lisp-inspector-keymap
Browse files Browse the repository at this point in the history
Give lisp-inspector-mode's keymap higher precedence over vi-mode.
  • Loading branch information
cxxxr authored Sep 5, 2023
2 parents 3059b04 + bb1d0c5 commit 7b7d1c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion extensions/vi-mode/special-binds.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
:*directory-mode-keymap*)
(:import-from :lem-lisp-mode/sldb
:sldb-mode
:*sldb-keymap*))
:*sldb-keymap*)
(:import-from :lem-lisp-mode/inspector
:lisp-inspector-mode
:*lisp-inspector-keymap*))
(in-package :lem-vi-mode/special-binds)

(defmethod mode-specific-keymaps ((mode directory-mode))
(list *directory-mode-keymap*))

(defmethod mode-specific-keymaps ((mode sldb-mode))
(list *sldb-keymap*))

(defmethod mode-specific-keymaps ((mode lisp-inspector-mode))
(list *lisp-inspector-keymap*))

0 comments on commit 7b7d1c9

Please sign in to comment.