2017-03-21 09:08:19 -07:00
|
|
|
*deprecated.txt* Nvim
|
2016-09-24 06:07:49 -07:00
|
|
|
|
|
|
|
|
|
|
|
NVIM REFERENCE MANUAL
|
|
|
|
|
|
|
|
|
|
|
|
Nvim *deprecated*
|
|
|
|
|
2016-10-15 18:54:22 -07: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 06:07:49 -07:00
|
|
|
==============================================================================
|
|
|
|
|
2019-04-08 14:08:01 -07:00
|
|
|
API ~
|
|
|
|
*nvim_buf_clear_highlight()* Use |nvim_buf_clear_namespace()| instead.
|
|
|
|
|
2016-09-24 06:07:49 -07:00
|
|
|
Commands ~
|
|
|
|
*:rv*
|
|
|
|
*:rviminfo* Deprecated alias to |:rshada| command.
|
|
|
|
*:wv*
|
|
|
|
*:wviminfo* Deprecated alias to |:wshada| command.
|
|
|
|
|
2018-04-08 08:20:25 -07:00
|
|
|
Environment Variables ~
|
|
|
|
*$NVIM_LISTEN_ADDRESS* Deprecated in favor of |--listen|. If both are given,
|
|
|
|
$NVIM_LISTEN_ADDRESS is ignored.
|
|
|
|
|
2016-09-24 06:07:49 -07:00
|
|
|
Events ~
|
|
|
|
*EncodingChanged* Never fired; 'encoding' is always "utf-8".
|
|
|
|
*FileEncoding* Never fired; equivalent to |EncodingChanged|.
|
|
|
|
|
2017-02-26 19:10:55 -07:00
|
|
|
Keycodes ~
|
|
|
|
*<MouseDown>* Use <ScrollWheelUp> instead.
|
|
|
|
*<MouseUp>* Use <ScrollWheelDown> instead.
|
|
|
|
|
2016-09-24 06:07:49 -07:00
|
|
|
Functions ~
|
|
|
|
*buffer_exists()* Obsolete name for |bufexists()|.
|
|
|
|
*buffer_name()* Obsolete name for |bufname()|.
|
2016-09-26 10:31:26 -07:00
|
|
|
*buffer_number()* Obsolete name for |bufnr()|.
|
2016-09-24 06:07:49 -07:00
|
|
|
*file_readable()* Obsolete name for |filereadable()|.
|
|
|
|
*highlight_exists()* Obsolete name for |hlexists()|.
|
|
|
|
*highlightID()* Obsolete name for |hlID()|.
|
2018-12-01 07:32:41 -07:00
|
|
|
*inputdialog()* Use |input()| instead.
|
2017-12-31 07:50:05 -07:00
|
|
|
*jobclose()* Obsolete name for |chanclose()|
|
|
|
|
*jobsend()* Obsolete name for |chansend()|
|
2016-09-24 06:07:49 -07:00
|
|
|
*last_buffer_nr()* Obsolete name for bufnr("$").
|
|
|
|
|
2017-07-02 04:46:41 -07:00
|
|
|
Modifiers ~
|
2018-10-31 21:24:44 -07:00
|
|
|
*cpo-<*
|
2017-07-02 04:46:41 -07:00
|
|
|
*:menu-<special>*
|
2018-10-31 21:24:44 -07:00
|
|
|
*:menu-special* <> notation is always enabled.
|
2017-07-02 04:46:41 -07:00
|
|
|
*:map-<special>*
|
2018-10-31 21:24:44 -07:00
|
|
|
*:map-special* <> notation is always enabled.
|
2017-07-02 04:46:41 -07:00
|
|
|
|
2017-12-27 11:30:23 -07:00
|
|
|
Normal commands ~
|
|
|
|
*]f*
|
|
|
|
*[f* Same as "gf".
|
|
|
|
|
2016-09-24 06:07:49 -07:00
|
|
|
Options ~
|
2018-01-15 14:26:48 -07:00
|
|
|
*'cscopeverbose'* Enabled by default. Use |:silent| instead.
|
2017-12-31 07:50:05 -07:00
|
|
|
'gd'
|
|
|
|
'gdefault' Enables the |:substitute| flag 'g' by default.
|
2016-09-24 06:07:49 -07:00
|
|
|
*'fe'* 'fenc'+'enc' before Vim 6.0; no longer used.
|
2017-12-31 07:50:05 -07:00
|
|
|
*'highlight'* *'hl'* Names of builtin |highlight-groups| cannot be changed.
|
2017-04-01 08:33:32 -07:00
|
|
|
*'langnoremap'* Deprecated alias to 'nolangremap'.
|
2016-09-24 06:07:49 -07:00
|
|
|
*'vi'*
|
|
|
|
*'viminfo'* Deprecated alias to 'shada' option.
|
2019-04-15 12:15:36 -07:00
|
|
|
*'viminfofile'* Deprecated alias to 'shadafile' option.
|
2016-09-24 06:07:49 -07:00
|
|
|
|
2019-03-20 15:09:53 -07: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 10:35:38 -07:00
|
|
|
*ui-wildmenu* Use |ui-cmdline| with |ui-popupmenu| instead. Enabled
|
2019-05-11 07:58:47 -07:00
|
|
|
by the `ext_wildmenu` |ui-option|. Emits these events:
|
2019-03-20 15:09:53 -07:00
|
|
|
["wildmenu_show", items]
|
|
|
|
["wildmenu_select", selected]
|
|
|
|
["wildmenu_hide"]
|
|
|
|
|
2017-12-27 11:30:23 -07:00
|
|
|
Variables~
|
|
|
|
*b:terminal_job_pid* PID of the top-level process in a |:terminal|.
|
|
|
|
Use `jobpid(&channel)` instead.
|
|
|
|
|
2017-07-02 04:46:41 -07:00
|
|
|
vim:noet:tw=78:ts=8:ft=help:norl:
|