lang/common-lisp: add localleader keys & hydras
Credit goes to @mfiano for these keybinds.
This commit is contained in:
parent
fc0d074f15
commit
a251c81aa3
3 changed files with 94 additions and 2 deletions
11
modules/lang/common-lisp/autoload/common-lisp.el
Normal file
11
modules/lang/common-lisp/autoload/common-lisp.el
Normal 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)))
|
Loading…
Add table
Add a link
Reference in a new issue