diff options
| author | Maxime Coste <mawww@kakoune.org> | 2025-02-05 12:55:33 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-02-05 12:57:30 +1100 |
| commit | a6b12ffd1e0c345d4d73462d855c4822b4cf5234 (patch) | |
| tree | 8878e67f2c4eebf66598131fd8f71026ccf8b7a6 /doc | |
| parent | 8b3ddd5df547130b55280debcfc29d5dad7eb9b2 (diff) | |
Make Control modifier quote inserted registers in prompt mode
It is often usefull to quote the inserted register, like when doing
`:grep <c-r>/`, or when pulling selected filenames with `<c-r><a-.>`.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/pages/keys.asciidoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc index 15129d9b..f346887e 100644 --- a/doc/pages/keys.asciidoc +++ b/doc/pages/keys.asciidoc @@ -803,9 +803,10 @@ The following keys are recognized by this mode to help with editing select previous completion candidate *<c-r>*:: - insert the content of the register given by next key, if next key - has the Alt modifier, it will insert all values in the register - joined with spaces, else it will insert the main one + insert the content of the register given by next key, if next key has + the Alt modifier, it will insert all values in the register joined with + spaces, else it will insert the main one. if it has the Control modifier, + it will quote the inserted value(s). *<c-v>*:: insert next keystroke without interpreting it |
