conventions: add toggles conventions

This commit is contained in:
syl20bnr 2015-08-24 21:23:28 -04:00
parent 612a77ba10
commit f80cc05d44
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,4 @@
* Spacemacs conventions * Spacemacs conventions
** Table of Contents :TOC@4: ** Table of Contents :TOC@4:
- [[#spacemacs-conventions][Spacemacs conventions]] - [[#spacemacs-conventions][Spacemacs conventions]]
- [[#code-guidelines][Code guidelines]] - [[#code-guidelines][Code guidelines]]
@ -31,6 +30,7 @@
- [[#tests][Tests]] - [[#tests][Tests]]
- [[#all-languages][All languages]] - [[#all-languages][All languages]]
- [[#language-specific][Language specific]] - [[#language-specific][Language specific]]
- [[#toggles][Toggles]]
- [[#refactoring][Refactoring]] - [[#refactoring][Refactoring]]
- [[#help-or-documentation][Help or Documentation]] - [[#help-or-documentation][Help or Documentation]]
- [[#writing-documentation][Writing documentation]] - [[#writing-documentation][Writing documentation]]
@ -53,7 +53,6 @@ A package is initialized in a function with name =<layer>/init-xxx= where:
- =xxx= is the package name - =xxx= is the package name
** Key bindings conventions ** Key bindings conventions
*** Reserved prefix *** Reserved prefix
**** User prefix **** User prefix
~SPC o~ must not be used by any layer. It is reserved for the user. ~SPC o~ must not be used by any layer. It is reserved for the user.
@ -299,6 +298,10 @@ buffer.
Note that there are overlaps, depending on the language we will choose Note that there are overlaps, depending on the language we will choose
one or more bindings for the same thing one or more bindings for the same thing
*** Toggles
- Global toggles are under ~SPC t~, ~SPC T~ and ~SPC C-t~
- Major mode toggles are only under ~SPC m T~
*** Refactoring *** Refactoring
Refactoring prefix is ~SPC m r~. Refactoring prefix is ~SPC m r~.