Define a convention for message modes

This commit is contained in:
Fabien Dubosson 2015-12-05 16:03:34 +01:00 committed by syl20bnr
parent eb7ca651fe
commit fb3e539eaf
1 changed files with 15 additions and 0 deletions

View File

@ -15,6 +15,7 @@
- [[n and N][n and N]]
- [[Code Navigation][Code Navigation]]
- [[=insert state= buffers][=insert state= buffers]]
- [[Messages editing][Messages editing]]
- [[Evaluation][Evaluation]]
- [[REPLs][REPLs]]
- [[Send code][Send code]]
@ -131,6 +132,20 @@ should be performed with ~C-j~ and ~C-k~ bindings for vertical movements.
| ~C-j~ | go down |
| ~C-k~ | go up |
** Messages editing
Modes that are used to edit messages (texts, notes, mails, …) and are subjects
to user validation (traditionally bound to ~C-c C-c~ and ~C-c C-k~ in emacs)
should use the following bindings:
| Key | Description |
|-----------+---------------------------|
| ~SPC m ,~ | Valid/Confirm the message |
| ~SPC m c~ | Valid/Confirm the message |
| ~SPC m k~ | Abort/Discard the message |
Some example of these modes are =magit= commit messages, =message-mode= for
mails or =org-mode= notes.
** Evaluation
Live evaluation of code is under the prefix ~SPC m e~.