Skip to content
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
5 changes: 5 additions & 0 deletions command-functions.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@
(with-output-to-string (s)
(describe (read-from-string (editor-word editor)) s))))

(defun inspect-word (chord editor)
(declare (ignore chord))
(without-backend editor
(inspect (read-from-string (editor-word editor)))))

(defun toggle-insert (chord editor)
(declare (ignore chord))
(setf (editor-insert-mode editor) (not (editor-insert-mode editor))))
2 changes: 1 addition & 1 deletion command-keys.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
(defcommand "M-G")
(defcommand "M-H" 'help)
(defcommand "M-I" 'describe-word)
(defcommand "M-J")
(defcommand "M-J" 'inspect-word)
(defcommand "M-K")
(defcommand "M-L" 'downcase-word)
(defcommand "M-M")
Expand Down