doc: bracketed-paste-mode

This commit is contained in:
Justin M. Keyes 2017-05-01 14:35:58 +02:00
parent deccd843ed
commit fa1ee0ac73
5 changed files with 5 additions and 15 deletions

View File

@ -3916,10 +3916,6 @@ getchar([expr]) *getchar()*
exe "normal " . v:mouse_col . "|"
endif
<
When using bracketed paste only the first character is
returned, the rest of the pasted text is dropped.
|xterm-bracketed-paste|.
There is no prompt, you will somehow have to make clear to the
user that a character has to be typed.
There is no mapping for the character.

View File

@ -4378,7 +4378,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'paste'* *'nopaste'*
'paste' boolean (default off)
global
You probably don't have to set this option: |bracketed-paste-mode|.
This option is obsolete; |bracketed-paste-mode| is built-in.
Put Vim in Paste mode. This is useful if you want to cut or copy
some text from one window and paste it in Vim. This will avoid

View File

@ -221,13 +221,9 @@ Bracketed paste mode allows terminal emulators to distinguish between typed
text and pasted text.
For terminal emulators that support it, this mode is enabled by default. Thus
you can paste text without Neovim giving any special meaning to it. Most
notably it won't try reindenting those lines.
If your terminal emulator doesn't support it yet, you can get the old Vim
behaviour by enabling |'paste'| temporarily.
NOTE: See https://cirw.in/blog/bracketed-paste for technical details.
you can paste text without Nvim giving any special meaning to it, e.g. it will
not auto-indent the pasted text. See https://cirw.in/blog/bracketed-paste for
technical details.
*mouse-mode-table* *mouse-overview*
A short overview of what the mouse buttons do, when 'mousemodel' is "extend":

View File

@ -100,8 +100,6 @@ editor. Even "legacy" Python and Ruby plugins which use the old Vim interfaces
FEATURES ~
|bracketed-paste-mode| is built-in and enabled by default.
|META| (ALT) chords are recognized, even in the terminal. Any |<M-| mapping
will work. Some examples: <M-1>, <M-2>, <M-BS>, <M-Del>, <M-Ins>, <M-/>,
<M-\>, <M-Space>, <M-Enter>, <M-=>, <M-->, <M-?>, <M-$>, ...

View File

@ -4659,7 +4659,7 @@ int vim_rename(const char_u *from, const char_u *to)
return -1;
}
// Avoid xmalloc() here as vim_rename() is called by buf_write() when neovim
// Avoid xmalloc() here as vim_rename() is called by buf_write() when nvim
// is `preserve_exit()`ing.
buffer = try_malloc(BUFSIZE);
if (buffer == NULL) {