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

Add micros keybinds to lisp-mode #1715

Merged
merged 1 commit into from
Dec 27, 2024
Merged
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
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
Loading