diff --git a/README.org b/README.org index 0306cf2..3d45f42 100755 --- a/README.org +++ b/README.org @@ -211,11 +211,11 @@ Particularly in Lisps where indentation is reliable. *** TODO ~SPC i u~ -*** TODO ~syd-open-sexp-above~ should understand comments +*** DONE ~syd-open-sexp-above~ should understand comments If a comment immediately proceeds a sexp, open the new sexp /before/ the comment. Transpose/drag commands should probably have the same behaviour. -*** TODO ESC should ~:nohl~ +*** DONE ESC should ~:nohl~ *** TODO Implement ~evil-cleverparens~'s ~evil-cp--guard-point~ diff --git a/users/crumb/programs/emacs/lib/syd-lisp-lib.el b/users/crumb/programs/emacs/lib/syd-lisp-lib.el index 93aa03e..438f72d 100644 --- a/users/crumb/programs/emacs/lib/syd-lisp-lib.el +++ b/users/crumb/programs/emacs/lib/syd-lisp-lib.el @@ -454,6 +454,11 @@ be considered as part of the sexp." "af" #'syd-evil-a-form "if" #'syd-evil-inner-form) +(general-def + :keymaps 'syd-lisp-mode-map + :states 'insert + ";" #'sp-comment) + ;; Bind editing commands in normal node, and motion commands in motion ;; mode. (general-def