| File doc/emacscommandline.txt changed (mode: 100644) (index b5dd74c..0c27119) |
| ... |
... |
that is not available natively. |
| 13 |
13 |
|
|
| 14 |
14 |
MOVEMENT *emacscommandline-movement* |
MOVEMENT *emacscommandline-movement* |
| 15 |
15 |
|
|
| 16 |
|
*CTRl-A* move cursor to beginning of line |
|
| 17 |
|
*CTRl-E* move cursor to end of line (i.e the native vim behaviour: |
|
|
16 |
|
*CTRL-A* move cursor to beginning of line |
|
17 |
|
*CTRL-E* move cursor to end of line (i.e the native vim behaviour: |
| 18 |
18 |
see |c_CTRL-E|). Not actually a re-mapping, but noted here |
see |c_CTRL-E|). Not actually a re-mapping, but noted here |
| 19 |
19 |
anyway for completeness. |
anyway for completeness. |
| 20 |
|
*CTRl-B* move cursor one character backwards |
|
| 21 |
|
*CTRl-F* move cursor one character forwards (overwrites |c_CTRL-F|) |
|
|
20 |
|
*CTRL-B* move cursor one character backwards |
|
21 |
|
*CTRL-F* move cursor one character forwards (overwrites |c_CTRL-F|) |
| 22 |
22 |
*META-B* move cursor one word backwards |
*META-B* move cursor one word backwards |
| 23 |
23 |
*META-F* move cursor one word forwards |
*META-F* move cursor one word forwards |
| 24 |
24 |
|
|
| 25 |
25 |
DELETION *emacscommandline-deletion* |
DELETION *emacscommandline-deletion* |
| 26 |
26 |
|
|
| 27 |
|
*CTRl-D* delete character under cursor |
|
| 28 |
|
*CTRl-K* kill line (delete from character under cursor to end of line) |
|
|
27 |
|
*CTRL-D* delete character under cursor |
|
28 |
|
*CTRL-K* kill line (delete from character under cursor to end of line) |
| 29 |
29 |
(overwrites insert digraph: see |c_CTRL-K|. This is a shame, |
(overwrites insert digraph: see |c_CTRL-K|. This is a shame, |
| 30 |
30 |
but personally I don't use this much in command-line mode.) |
but personally I don't use this much in command-line mode.) |
| 31 |
|
*CTRl-U* backwards kill line (delete backwards to beginning of line) |
|
|
31 |
|
*CTRL-U* backwards kill line (delete backwards to beginning of line) |
| 32 |
32 |
(i.e. the same behaviour as in Bash: unix-line-discard) |
(i.e. the same behaviour as in Bash: unix-line-discard) |
| 33 |
33 |
*META-D* delete word under cursor |
*META-D* delete word under cursor |
| 34 |
34 |
*META-Backspace* delete word backwards |
*META-Backspace* delete word backwards |
| |
| ... |
... |
DELETION *emacscommandline-deletion* |
| 37 |
37 |
|
|
| 38 |
38 |
HISTORY *emacscommandline-history* |
HISTORY *emacscommandline-history* |
| 39 |
39 |
|
|
| 40 |
|
*CTRl-P* previous line in history (same as <Up>) |
|
| 41 |
|
*CTRl-N* next line in history (same as <Down>) |
|
|
40 |
|
*CTRL-P* previous line in history (same as <Up>) |
|
41 |
|
*CTRL-N* next line in history (same as <Down>) |
| 42 |
42 |
*META-R* search history backwards |
*META-R* search history backwards |
| 43 |
43 |
(It would be nice to use the mapping CTRL-R, but this is |
(It would be nice to use the mapping CTRL-R, but this is |
| 44 |
44 |
already used for insert register: see |c_CTRL-R|.) |
already used for insert register: see |c_CTRL-R|.) |
| 45 |
45 |
|
|
| 46 |
46 |
OTHER *emacscommandline-other* |
OTHER *emacscommandline-other* |
| 47 |
47 |
|
|
| 48 |
|
*CTRl-Y* paste (yank) last deleted text (overwrites |c_CTRL-Y|). |
|
|
48 |
|
*CTRL-Y* paste (yank) last deleted text (overwrites |c_CTRL-Y|). |
| 49 |
49 |
Note that in Emacs, 'yank' means 'paste', whereas in vim it |
Note that in Emacs, 'yank' means 'paste', whereas in vim it |
| 50 |
50 |
means 'copy'. The same text is also available in the |
means 'copy'. The same text is also available in the |
| 51 |
51 |
registry 'c'. |
registry 'c'. |
| 52 |
|
*CTRl-_* undo last change (overwrites |c_CTRL-_|) |
|
| 53 |
|
*CTRl-X_CTRL-U* " " " |
|
| 54 |
|
*CTRl-Z* toggle command-line as external command (overwrites suspend |
|
|
52 |
|
*CTRL-_* undo last change (overwrites |c_CTRL-_|) |
|
53 |
|
*CTRL-X_CTRL-U* " " " |
|
54 |
|
*CTRL-Z* toggle command-line as external command (overwrites suspend |
| 55 |
55 |
vim in the terminal) |
vim in the terminal) |
| 56 |
56 |
|
|
| 57 |
57 |
OLD KEYS *emacscommandline-old-keys* |
OLD KEYS *emacscommandline-old-keys* |