Slurp/barf sexps #24441
thomasheartman
started this conversation in
From Emacs
Slurp/barf sexps
#24441
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Through
smartparens
, Emacs lets you slurp/barf expressions into the current enclosing delimiter. In short it allows you to do extend the selection of the current expression by either moving the delimiter to the next expression, by retracting it by one expression (in either direction).In short, with the cursor in the first set of parens:
you can slurp the next one, which would yield
While this is especially useful in lisps, I've also often found use for it in C-like languages.
Beta Was this translation helpful? Give feedback.
All reactions