Define a convention for message modes
This commit is contained in:
parent
eb7ca651fe
commit
fb3e539eaf
|
@ -15,6 +15,7 @@
|
||||||
- [[n and N][n and N]]
|
- [[n and N][n and N]]
|
||||||
- [[Code Navigation][Code Navigation]]
|
- [[Code Navigation][Code Navigation]]
|
||||||
- [[=insert state= buffers][=insert state= buffers]]
|
- [[=insert state= buffers][=insert state= buffers]]
|
||||||
|
- [[Messages editing][Messages editing]]
|
||||||
- [[Evaluation][Evaluation]]
|
- [[Evaluation][Evaluation]]
|
||||||
- [[REPLs][REPLs]]
|
- [[REPLs][REPLs]]
|
||||||
- [[Send code][Send code]]
|
- [[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-j~ | go down |
|
||||||
| ~C-k~ | go up |
|
| ~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
|
** Evaluation
|
||||||
Live evaluation of code is under the prefix ~SPC m e~.
|
Live evaluation of code is under the prefix ~SPC m e~.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue