Use `RET` instead of `return` for return key

It is an Emacs-wide convention to use `RET` when referring to the act of
pressing the return key.  Spacemacs seems to follow that convention as well.  So
fix some Org files that were deviating from this convention.

In particular, replace usages of `<return>` and `return` with `RET`.

Also update the description of an `M-RET` keybinding[1] based on the docstring
of `ido-select-text`.

[1]: Suggested-by: bmag <bmag@users.noreply.github.com>
This commit is contained in:
Kristoffer Haugsbakk 2016-11-24 21:38:44 +01:00 committed by syl20bnr
parent 0c91ad7acb
commit 31a11abd54
3 changed files with 5 additions and 5 deletions

View File

@ -2173,8 +2173,8 @@ Basic =ido= operations can be done with ~Ctrl~ key:
| Key Binding | Description |
|--------------------+---------------------------------------------------|
| ~C-<return>~ | open a =dired buffer= |
| ~M-<return>~ | open a =dired buffer= in terminal |
| ~C-RET~ | open a =dired buffer= |
| ~M-RET~ | select the buffer or file named by the prompt |
| ~C-d~ | delete selected file (ask for confirmation) |
| ~C-h~ | go to parent directory |
| ~C-j~ | select next file or directory |

View File

@ -230,7 +230,7 @@ Emacs style:
| ~C-k~ | select previous candidate |
| ~TAB~ | expand selection or select next candidate |
| ~S-TAB~ | select previous candidate |
| ~return~ | complete word, if word is already completed insert a carriage return |
| ~RET~ | complete word, if word is already completed insert a carriage return |
** Yasnippet

View File

@ -26,7 +26,7 @@ A nice video demonstration by the package author can be found [[https://www.yout
- Auto-wrap correctly in comments,
- Auto-fill correctly in comments,
- Boxes auto-adapt as text is inserted or deleted,
- ~S-return~ to continue a comment on the next line,
- ~S-RET~ to continue a comment on the next line,
- Kill/yank within the box,
- Apparently works well with ancient ~filladpt-mode~ (see authors video).
@ -339,4 +339,4 @@ These templates are added by the Spacemacs layer.
| ~SPC x b b~ | Draw next box defined in =rebox-style-loop= |
| ~SPC x b B~ | Draw previous box defined in =rebox-style-loop= |
| ~SPC x b c~ | Center box (point must be around left side of the box) |
| ~S-return~ | rebox-indent-new-line |
| ~S-RET~ | rebox-indent-new-line |