summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoryuhan0 <qythium@gmail.com>2021-05-02 15:52:20 +0800
committerGitHub <noreply@github.com>2021-05-02 10:52:20 +0300
commit512e285f7020a1ae638699a6c3d72c45db3b9fec (patch)
tree6c405f3d5f36419c022c01e2399176e6a0fec85b /README.md
parentd7a45c7c033dbfea43ac6f0836c902dce0defc7c (diff)
Rename ns aliases in selected region (#590)
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5b8fb9f..6b6be6d 100644
--- a/README.md
+++ b/README.md
@@ -401,10 +401,14 @@ form. If called with a prefix argument slurp the previous n forms.
### Rename ns alias
-`clojure-rename-ns-alias`: Rename an alias inside a namespace declaration.
+`clojure-rename-ns-alias`: Rename an alias inside a namespace declaration,
+and all of its usages in the buffer
<img width="512" src="/doc/clojure-rename-ns-alias.gif">
+If there is an active selected region, only rename usages of aliases within the region,
+without affecting the namespace declaration.
+
### Add arity to a function
`clojure-add-arity`: Add a new arity to an existing single-arity or multi-arity function.