aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-09 08:29:49 -0700
committerGitHub <noreply@github.com>2019-09-09 08:29:49 -0700
commit05c668f684e111880b4d15de9ec63c2ba3264ef3 (patch)
tree99bdf949a49e2b7bb1a1ca54923b27c13cd3faae /runtime
parent9e0ce1a158417e34a0b4b6690e1f6a1816c6e725 (diff)
downloadrneovim-05c668f684e111880b4d15de9ec63c2ba3264ef3.tar.gz
rneovim-05c668f684e111880b4d15de9ec63c2ba3264ef3.tar.bz2
rneovim-05c668f684e111880b4d15de9ec63c2ba3264ef3.zip
paste: fix normal-mode paste by different approach #10976
Forcing insert-mode after the first paste-chunk seems to work, as an alternative to a9e2bae0eb69 (insert-before-cursor). NB: Dot-repeat needs to match the original action. Since a9e2bae0eb69 changed paste to insert-before-cursor, dot-repeat must also. But that makes dot-repeat unpleasant/unusual.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/provider.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt
index 6fa3377a14..0083bb63a4 100644
--- a/runtime/doc/provider.txt
+++ b/runtime/doc/provider.txt
@@ -239,7 +239,7 @@ GUIs can paste by calling |nvim_paste()|.
PASTE BEHAVIOR ~
-Paste inserts text before the cursor. Lines break at <NL>, <CR> and <CR><NL>.
+Paste inserts text after the cursor. Lines break at <NL>, <CR>, and <CR><NL>.
When pasting a huge amount of text, screen-updates are throttled and the
message area shows a "..." pulse.