Skip to content

Commit

Permalink
Merge pull request lem-project#1715 from jfaz1/micros-keybinds
Browse files Browse the repository at this point in the history
Add micros keybinds to lisp-mode
  • Loading branch information
cxxxr authored Dec 27, 2024
2 parents 4b3fa46 + fe4ff55 commit cc37f10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extensions/lisp-mode/lisp-mode.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
(define-key *lisp-mode-keymap* "Return" 'newline-and-indent)
(define-key *lisp-mode-keymap* "C-c C-j" 'lisp-eval-expression-in-repl)
(define-key *lisp-mode-keymap* "C-c ~" 'lisp-listen-in-current-package)
(define-key *lisp-mode-keymap* "C-c m s" 'slime)
(define-key *lisp-mode-keymap* "C-c m r" 'slime-restart)
(define-key *lisp-mode-keymap* "C-c m q" 'slime-quit)
(define-key *lisp-mode-keymap* "C-c m c" 'slime-connect)

(defmethod convert-modeline-element ((element (eql 'lisp-mode)) window)
(format nil " ~A~A" (buffer-package (window-buffer window) "CL-USER")
Expand Down Expand Up @@ -891,7 +895,7 @@

(defun notify-change-connection-to-wait-message-thread ()
(bt2:interrupt-thread *wait-message-thread*
(lambda () (error 'change-connection))))
(lambda () (error 'change-connection))))

(defun message-waiting-some-connections-p (&key (timeout 0))
(with-broadcast-connections (connection)
Expand Down

0 comments on commit cc37f10

Please sign in to comment.