2017-03-21 17:08:19 +01:00
|
|
|
*deprecated.txt* Nvim
|
2016-09-24 15:07:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
NVIM REFERENCE MANUAL
|
|
|
|
|
|
|
|
|
|
|
|
Nvim *deprecated*
|
|
|
|
|
2016-10-16 03:54:22 +02:00
|
|
|
The items listed below are "deprecated". This means they will be removed in
|
|
|
|
the future. They should not be used in new scripts, and old scripts should be
|
|
|
|
updated.
|
|
|
|
|
2016-09-24 15:07:49 +02:00
|
|
|
==============================================================================
|
|
|
|
|
2019-04-08 23:08:01 +02:00
|
|
|
API ~
|
|
|
|
*nvim_buf_clear_highlight()* Use |nvim_buf_clear_namespace()| instead.
|
|
|
|
|
2016-09-24 15:07:49 +02:00
|
|
|
Commands ~
|
|
|
|
*:rv*
|
|
|
|
*:rviminfo* Deprecated alias to |:rshada| command.
|
|
|
|
*:wv*
|
|
|
|
*:wviminfo* Deprecated alias to |:wshada| command.
|
|
|
|
|
2018-04-08 17:20:25 +02:00
|
|
|
Environment Variables ~
|
|
|
|
*$NVIM_LISTEN_ADDRESS* Deprecated in favor of |--listen|. If both are given,
|
|
|
|
$NVIM_LISTEN_ADDRESS is ignored.
|
|
|
|
|
2016-09-24 15:07:49 +02:00
|
|
|
Events ~
|
|
|
|
*EncodingChanged* Never fired; 'encoding' is always "utf-8".
|
|
|
|
*FileEncoding* Never fired; equivalent to |EncodingChanged|.
|
|
|
|
|
2017-02-27 03:10:55 +01:00
|
|
|
Keycodes ~
|
|
|
|
*<MouseDown>* Use <ScrollWheelUp> instead.
|
|
|
|
*<MouseUp>* Use <ScrollWheelDown> instead.
|
|
|
|
|
2016-09-24 15:07:49 +02:00
|
|
|
Functions ~
|
|
|
|
*buffer_exists()* Obsolete name for |bufexists()|.
|
|
|
|
*buffer_name()* Obsolete name for |bufname()|.
|
2016-09-26 19:31:26 +02:00
|
|
|
*buffer_number()* Obsolete name for |bufnr()|.
|
2016-09-24 15:07:49 +02:00
|
|
|
*file_readable()* Obsolete name for |filereadable()|.
|
|
|
|
*highlight_exists()* Obsolete name for |hlexists()|.
|
|
|
|
*highlightID()* Obsolete name for |hlID()|.
|
2018-12-01 15:32:41 +01:00
|
|
|
*inputdialog()* Use |input()| instead.
|
2017-12-31 15:50:05 +01:00
|
|
|
*jobclose()* Obsolete name for |chanclose()|
|
|
|
|
*jobsend()* Obsolete name for |chansend()|
|
2016-09-24 15:07:49 +02:00
|
|
|
*last_buffer_nr()* Obsolete name for bufnr("$").
|
|
|
|
|
2017-07-02 13:46:41 +02:00
|
|
|
Modifiers ~
|
2018-11-01 05:24:44 +01:00
|
|
|
*cpo-<*
|
2017-07-02 13:46:41 +02:00
|
|
|
*:menu-<special>*
|
2018-11-01 05:24:44 +01:00
|
|
|
*:menu-special* <> notation is always enabled.
|
2017-07-02 13:46:41 +02:00
|
|
|
*:map-<special>*
|
2018-11-01 05:24:44 +01:00
|
|
|
*:map-special* <> notation is always enabled.
|
2017-07-02 13:46:41 +02:00
|
|
|
|
2017-12-27 19:30:23 +01:00
|
|
|
Normal commands ~
|
|
|
|
*]f*
|
|
|
|
*[f* Same as "gf".
|
|
|
|
|
2016-09-24 15:07:49 +02:00
|
|
|
Options ~
|
2018-01-15 22:26:48 +01:00
|
|
|
*'cscopeverbose'* Enabled by default. Use |:silent| instead.
|
2019-06-30 00:09:45 +02:00
|
|
|
*'exrc'* *'ex'* Security risk: downloaded files could include
|
|
|
|
a malicious .nvimrc or .exrc file. See 'secure'.
|
|
|
|
Recommended alternative: define an autocommand in your
|
|
|
|
|vimrc| to set options for a matching directory.
|
2017-12-31 15:50:05 +01:00
|
|
|
'gd'
|
|
|
|
'gdefault' Enables the |:substitute| flag 'g' by default.
|
2016-09-24 15:07:49 +02:00
|
|
|
*'fe'* 'fenc'+'enc' before Vim 6.0; no longer used.
|
2017-12-31 15:50:05 +01:00
|
|
|
*'highlight'* *'hl'* Names of builtin |highlight-groups| cannot be changed.
|
2017-04-01 17:33:32 +02:00
|
|
|
*'langnoremap'* Deprecated alias to 'nolangremap'.
|
2016-09-24 15:07:49 +02:00
|
|
|
*'vi'*
|
|
|
|
*'viminfo'* Deprecated alias to 'shada' option.
|
2019-04-15 21:15:36 +02:00
|
|
|
*'viminfofile'* Deprecated alias to 'shadafile' option.
|
2016-09-24 15:07:49 +02:00
|
|
|
|
2019-03-20 23:09:53 +01:00
|
|
|
UI extensions~
|
UI/nvim_ui_attach(): add `override` option
Before now, Nvim always degrades UI capabilities to the lowest-common
denominator. For example, if any connected UI has `ext_messages=false`
then `ext_messages=true` requested by any other connected UI is ignored.
Now `nvim_ui_attach()` supports `override=true`, which flips the
behavior: if any UI requests an `ext_*` UI capability then the
capability is enabled (and the legacy behavior is disabled).
Legacy UIs will be broken while a `override=true` UI is connected, but
it's useful for debugging: you can type into the TUI and observe the UI
events from another connected (UI) client. And the legacy UI will
"recover" after the `override=true` UI disconnects.
Example using pynvim:
>>> n.ui_attach(2048, 2048, rgb=True, override=True, ext_multigrid=True, ext_messages=True, ext_popupmenu=True)
>>> while True: n.next_message();
2019-05-09 19:35:38 +02:00
|
|
|
*ui-wildmenu* Use |ui-cmdline| with |ui-popupmenu| instead. Enabled
|
2019-05-11 16:58:47 +02:00
|
|
|
by the `ext_wildmenu` |ui-option|. Emits these events:
|
2019-03-20 23:09:53 +01:00
|
|
|
["wildmenu_show", items]
|
|
|
|
["wildmenu_select", selected]
|
|
|
|
["wildmenu_hide"]
|
|
|
|
|
2017-12-27 19:30:23 +01:00
|
|
|
Variables~
|
|
|
|
*b:terminal_job_pid* PID of the top-level process in a |:terminal|.
|
|
|
|
Use `jobpid(&channel)` instead.
|
|
|
|
|
2017-07-02 13:46:41 +02:00
|
|
|
vim:noet:tw=78:ts=8:ft=help:norl:
|