diff options
Diffstat (limited to 'runtime/doc/provider.txt')
-rw-r--r-- | runtime/doc/provider.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt index 833be8a103..0083bb63a4 100644 --- a/runtime/doc/provider.txt +++ b/runtime/doc/provider.txt @@ -239,13 +239,14 @@ GUIs can paste by calling |nvim_paste()|. PASTE BEHAVIOR ~ -Paste always inserts text after the cursor. In cmdline-mode only the first -line is pasted, to avoid accidentally executing many commands. Use the -|cmdline-window| if you really want to paste multiple lines to the cmdline. - -When pasting a huge amount of text, screen updates are throttled and the +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. +In cmdline-mode only the first line is pasted, to avoid accidentally executing +many commands. Use the |cmdline-window| if you really want to paste multiple +lines to the cmdline. + You can implement a custom paste handler by redefining |vim.paste()|. Example: > |