From d8b57696cbb8673d4b7ea10f9ba2537b3eaaf71b Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 1 Oct 2024 13:11:14 +0100 Subject: Use some paredit commands in cider-repl-mode --- .emacs.d/lisp/init-clojure.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el index b85c090..8b722aa 100644 --- a/.emacs.d/lisp/init-clojure.el +++ b/.emacs.d/lisp/init-clojure.el @@ -214,7 +214,11 @@ ("C-c M-l" . cider-load-file) ("C-c M-b" . cider-interrupt)) (:map cider-repl-mode-map - ("C-c M-b" . cider-interrupt)) + ("C-c M-b" . cider-interrupt) + ;; sp commands sometimes behave strangely in the cider repl buffer + ("M-d" . paredit-forward-kill-word) + ("M-DEL" . paredit-backward-kill-word) + ("C-k" . paredit-kill)) (:map cider-start-map ("C-c C-M-j" . cider-jack-in-and-run-main)) (:map clojure-mode-map -- cgit 1.4.1-2-gfad0