Deprecated
Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
Nvim
The items listed below are deprecated: they will be removed in the future.
They should not be used in new scripts, and old scripts should be updated.
COMMANDS
:rv
:rviminfo
Deprecated alias to
:rshada command.
:wv
:wviminfo
Deprecated alias to
:wshada command.
ENVIRONMENT VARIABLES
Deprecated way to:
detect a parent Nvim (use
$NVIM instead)
Ignored if --listen is given.
Unset by
terminal and
jobstart() unless explicitly given by the "env"
option. Example:
call jobstart(['foo'], { 'env': { 'NVIM_LISTEN_ADDRESS': v:servername } })
EVENTS
EncodingChanged
Never fired;
'encoding' is always "utf-8".
GUIEnter
Never fired; use
UIEnter instead.
KEYCODES
<MouseDown>
Use
<ScrollWheelUp>
instead.
<MouseUp>
Use
<ScrollWheelDown>
instead.
FUNCTIONS
buffer_number()
Obsolete name for
bufnr().
highlightID()
Obsolete name for
hlID().
last_buffer_nr()
Obsolete name for bufnr("$").
rpcstop()
Use
jobstop() instead to stop any job, or
chanclose(id, "rpc")
to close RPC communication
without stopping the job. Use chanclose(id) to close
any socket.
vim.lsp.diagnostic.disable()
vim.lsp.diagnostic.enable()
vim.lsp.diagnostic.get_next()
vim.lsp.diagnostic.get_next_pos()
vim.lsp.diagnostic.get_prev()
vim.lsp.diagnostic.get_prev_pos()
vim.lsp.diagnostic.get_virtual_text_chunks_for_line()
No replacement. Use
options provided by
vim.diagnostic.config() to customize virtual text.
vim.lsp.diagnostic.goto_next()
vim.lsp.diagnostic.goto_prev()
vim.lsp.diagnostic.reset()
vim.lsp.diagnostic.set_signs()
vim.lsp.diagnostic.set_underline()
vim.lsp.diagnostic.set_virtual_text()
OPTIONS
cpo-<
:menu-<special>
:menu-special
:map-<special>
:map-special
<>
notation is always enabled.
'fe'
'fenc'+'enc' before Vim 6.0; no longer used.
'viewoptions' Flags "unix", "slash" are ignored and always enabled.
'viminfo'
Deprecated alias to
'shada' option.
'paste'
'nopaste'
This option is obsolete;
paste is handled automatically.
Enables "paste mode":
mappings in Insert mode and Command-line mode are
disabled
abbreviations are disabled
'wrapmargin' is set to 0
These options keep their value, but their effect is
disabled:
UI EXTENSIONS
["wildmenu_show", items]
["wildmenu_select", selected]
["wildmenu_hide"]
VARIABLES
b:terminal_job_pid
PID of the top-level process in a
:terminal.
Use
jobpid(&channel)
instead.