Skip to content

Commit

Permalink
conventions: add code formatting key bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jul 7, 2016
1 parent 7df7233 commit bd50484
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/CONVENTIONS.org
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit bd50484

Please sign in to comment.