~octaspire/dotfiles

12bb0f5e0fa33f3831d03714f47adb10ebfd83b8 — octaspire 20 days ago 55735b3
GNU/Emacs: Bind <return> to `lispy-alt-line` in `lispy-mode-map`

 * Unfortunately ']' doesn't move point out from a string
   when editing Lisp code using Lispy. Bind <return> to
   do this (and to insert a newline).
1 files changed, 2 insertions(+), 1 deletions(-)

M emacs/.config/emacs/init.el
M emacs/.config/emacs/init.el => emacs/.config/emacs/init.el +2 -1
@@ 284,7 284,8 @@ adding it to the kill ring as a new kill."
	      (setq-default lispy-no-space t)
	      (add-hook 'emacs-lisp-mode-hook (lambda ()
						(lispy-mode 1)
						(define-key lispy-mode-map (kbd "M-m") nil)))))
						(define-key lispy-mode-map (kbd "M-m")      nil)
						(define-key lispy-mode-map (kbd "<return>") 'lispy-alt-line)))))

(when (octaspire/lisp-found-p)
  (let ((style "sbcl"))