mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: bracketed-paste-mode
This commit is contained in:
parent
deccd843ed
commit
fa1ee0ac73
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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":
|
||||
|
@ -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-$>, ...
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user