conventions: add code formatting key bindings

This commit is contained in:
syl20bnr 2016-07-06 22:10:34 -04:00
parent 7df72331e6
commit bd50484689
1 changed files with 10 additions and 0 deletions

View File

@ -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.