-
-
Couldn't load subscription status.
- Fork 196
Description
Hybrid line/sexp commands are very versatile, if hard to write. paredit-kill is probably my favorite feature of paredit, and it has no equivalent in smartparens. (In brief, it kills to the end of the line like kill-line, except will stop if the enclosing sexp ends, and will kill any hanging sexps at the end of the line. See http://www.emacswiki.org/emacs/PareditCheatsheet)
I have a clone sp-hybrid-kill-line written, but it needs #94 fixed before I can give you a pull request.
It would also be useful to have commands such as sp-hybrid-sort-lines, sp-hybrid-transpose-lines, etc. These are especially important when working in non-sexp-based languages such as Python, or languages like Clojure that don't always group related things in parens. For an example of the latter, it's very difficult to move variable definitions around when they are written like
(let [x1 v1
x2 v2]
... body ...)