diff --git a/doc/CONVENTIONS.org b/doc/CONVENTIONS.org index fa7c467fa..76cfc4f9d 100644 --- a/doc/CONVENTIONS.org +++ b/doc/CONVENTIONS.org @@ -34,6 +34,7 @@ - [[#language-specific][Language specific]] - [[#toggles][Toggles]] - [[#refactoring][Refactoring]] + - [[#code-formatting][Code Formatting]] - [[#help-or-documentation][Help or Documentation]] - [[#writing-documentation][Writing documentation]] - [[#spacing-in-documentation][Spacing in documentation]] @@ -339,6 +340,15 @@ one or more bindings for the same thing ** Refactoring Refactoring prefix is ~SPC m r~. +** Code Formatting +Major-mode code formatting is under prefix ~SPC m =~. + +| Key Binding | Description | +|-------------+--------------------------| +| ~m = =~ | format thing under point | +| ~m = b~ | format current buffer | +| ~m = f~ | format current function | + ** Help or Documentation The base prefix for help commands is ~SPC h~. Documentation is considered as an help command.