Using emacs with Paredit enabled. How can I search through a LISP (Clojure) S-expression and rename a variable? I’d like to do it within the current S-expression instead of globally.
Using emacs with Paredit enabled. How can I search through a LISP (Clojure) S-expression
Share
Just use
C-M-<space>at the start of the s-expression you’d like to use as your scope, to highlight it, and then do aquery-replaceas usual – it restricts itself to the active region.