If you're an #emacs user who has been postponing structural editing, or just not gotten into it when trying paredit (or one of the million alternatives), try just using the built-in, prebound commands:

M-x forward-sexp (C-M-f)
M-x backward-sexp (C-M-b)
M-x kill-sexp (C-M-k)
M-x backward-kill-sexp (C-M-)

They're really unintrusive and makes for a natural way to get into structural editing, without disrupting your current workflow or having a high learning curve. They work for #clojure too :)

Follow

@olav I started with Paredit, then understood the emacs version to be deprecated and went to SmartParens for a few years, and recently switched to the FSF preferred . I always think of this great video and the magic of the weird "transpose" command emacsrocks.com/e14.html

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.