aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-18 02:39:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-02-18 14:49:05 +0100
commit308ccb6f5e40ba1dbe4abfebc9df3399d7f17504 (patch)
tree4cf89d29a05f58b4e7b97489df8c66f31a18da47 /runtime
parentb49a74a1afe9740f18ca419dade45705da5bec46 (diff)
downloadrneovim-308ccb6f5e40ba1dbe4abfebc9df3399d7f17504.tar.gz
rneovim-308ccb6f5e40ba1dbe4abfebc9df3399d7f17504.tar.bz2
rneovim-308ccb6f5e40ba1dbe4abfebc9df3399d7f17504.zip
cmdline: CTRL-R: <Space> instead of CR between lines.
^M isn't any more "correct" than space: the "technically correct" interpretation is to execute the first line that is seen (and this is what happens on middle-click paste in Vim). ^M is only intended to defuse the newline, so that the user can review the command. We can do that with a space instead, and then the command can be executed without having to fix it up first.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/vim_diff.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index eeb5e85036..7fbd957a22 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -238,6 +238,9 @@ newly allocated memory all over the place) and fail on types which cannot be
coerced to strings. See |id()| for more details, currently it uses
`printf("%p", {expr})` internally.
+|c_CTRL-R| pasting a non-special register into the |cmdline| separates lines
+by <Space> instead of <CR>.
+
==============================================================================
5. Missing legacy features *nvim-features-missing*
*if_lua* *if_perl* *if_mzscheme* *if_tcl*