-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paredit paredit-kill
#380
Comments
Yes, I often see my Emacs wielding colleagues do that. Really cool. For now in Calva, there is Kill Sexp Forward. |
|
In all examples that follow, killListForward outcome would be Example 1 - s-expresions(a| b (c
d) e) + paredit-kill = (expressions starting on the current line past the cursor are killed) (a| e) Example 2 - comments(a| ;; comment
e) + paredit-kill = (comment killed) (a|
e) Example 3 - newline(a|
e) + paredit-kill = (newline killed) (a| e) |
Nice examples! Not sure why you want to dig up this old and fixed issue. Please file this as a new issue. And add this one example: Example 4 - don't kill past end of list(a| e) + paredit-kill = (rest of list killed) (a|) |
In emacs, there is a function
paredit-kill
which (according to docs):This means that if you're inside an S-expression, you kill to the end of that S-epression.
ie if
|
is the cursor,(foo | bar baz qix)
, then invokingparedit-kill
would give you(foo |)
The text was updated successfully, but these errors were encountered: