branch: elpa/clojure-mode
commit f659d930df92db844e9c7330e3a5124765fc0c7f
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Document missing interactive commands in README
    
    Add sections for toggle ignore forms, promote fn literal, toggle
    keyword/string, and namespace manipulation commands.
---
 README.md | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/README.md b/README.md
index d81ade0175..98f1eae61a 100644
--- a/README.md
+++ b/README.md
@@ -449,6 +449,41 @@ the same as before.
 
 <img width="512" src="/doc/clojure-cycle-if.gif">
 
+### Toggle ignore forms
+
+`clojure-toggle-ignore`: Toggle `#_` on the form at point, commenting it out 
for
+the reader. With a numeric prefix argument, toggle N `#_` forms at the same
+point (e.g. `#_#_` to ignore two forms).
+
+`clojure-toggle-ignore-surrounding-form`: Toggle `#_` on the surrounding form.
+With a numeric prefix argument, go up N levels first. With `C-u`, act on the
+top-level form.
+
+`clojure-toggle-ignore-defun`: Toggle `#_` on the top-level form at point.
+
+### Promote function literal
+
+`clojure-promote-fn-literal`: Convert a `#(...)` function literal into a
+`(fn [...] ...)` form, prompting for argument names.
+
+### Toggle keyword/string
+
+`clojure-toggle-keyword-string`: Convert the keyword or string at point to the
+other type (e.g. `:foo` becomes `"foo"` and vice versa).
+
+### Namespace manipulation
+
+`clojure-insert-ns-form`: Insert a namespace form at the beginning of the
+buffer, inferred from the file path.
+
+`clojure-insert-ns-form-at-point`: Insert a namespace form at point.
+
+`clojure-update-ns`: Update the namespace name to match the file path. Useful
+after renaming a file.
+
+`clojure-sort-ns`: Sort the contents of the `ns` form (e.g. `:require`,
+`:import`).
+
 ### Convert collection
 
 Convert any given collection at point to list, quoted list, map, vector or set.

Reply via email to