lang/common-lisp: add localleader keys & hydras

Credit goes to @mfiano for these keybinds.
This commit is contained in:
Henrik Lissner 2018-10-03 01:24:29 -04:00
parent fc0d074f15
commit a251c81aa3
3 changed files with 94 additions and 2 deletions

View file

@ -0,0 +1,11 @@
;;; lang/common-lisp/autoload/common-lisp.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +common-lisp*sly-last-sexp (command &rest args)
"In normal-state or motion-state, last sexp ends at point."
(if (and (not evil-move-beyond-eol)
(or (evil-normal-state-p) (evil-motion-state-p)))
(save-excursion
(unless (or (eobp) (eolp)) (forward-char))
(apply command args))
(apply command args)))