2015-01-30 05:19:43 -07:00
|
|
|
*vim_diff.txt* For Nvim. {Nvim}
|
|
|
|
|
|
|
|
|
|
|
|
NVIM REFERENCE MANUAL
|
|
|
|
|
|
|
|
|
|
|
|
Differences between Nvim and Vim *vim-differences*
|
|
|
|
|
|
|
|
Throughout the help files, differences between Nvim and Vim are indicated via
|
|
|
|
the "{Nvim}" tag. This document is a complete and centralized list of all
|
|
|
|
these differences.
|
|
|
|
|
|
|
|
1. Configuration |nvim-configuration|
|
|
|
|
2. Option defaults |nvim-option-defaults|
|
|
|
|
3. Changed features |nvim-features-changed|
|
|
|
|
4. New features |nvim-features-new|
|
|
|
|
5. Missing legacy features |nvim-features-missing|
|
|
|
|
6. Removed features |nvim-features-removed|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
1. Configuration *nvim-configuration*
|
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
- Use `.nvimrc` instead of `.vimrc` for storing configuration.
|
|
|
|
- Use `.nvim` instead of `.vim` to store configuration files.
|
|
|
|
- Use `.nviminfo` instead of `.viminfo` for persistent session information.
|
2015-01-30 05:19:43 -07:00
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
2. Option defaults *nvim-option-defaults*
|
|
|
|
|
|
|
|
- 'nocompatible' is always set
|
|
|
|
- 'encoding' defaults to "utf-8"
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
3. Changed features *nvim-features-changed*
|
|
|
|
|
|
|
|
Nvim always builds with all features, in contrast to Vim which may have
|
|
|
|
certain features removed/added at compile-time. This is like if Vim's "HUGE"
|
|
|
|
build was the only Vim release type (except Nvim is smaller than Vim's "HUGE"
|
|
|
|
build).
|
|
|
|
|
|
|
|
If a Python interpreter is available on your `$PATH`, |:python| and |:python3|
|
|
|
|
are always available and may be used simultaneously in separate plugins. The
|
|
|
|
`neovim` pip package must be installed to use Python plugins in Nvim (see
|
|
|
|
|nvim-python|).
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
4. New Features *nvim-features-new*
|
|
|
|
|
|
|
|
See |nvim-intro| for a list of Nvim's largest new features.
|
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Meta-key chords are recognized (even in the terminal).
|
|
|
|
<M-1>, <M-2>, ...
|
|
|
|
<M-BS>, <M-Del>, <M-Ins>, ...
|
|
|
|
<M-/>, <M-\>, ...
|
|
|
|
<M-Space>, <M-Enter>, <M-=>, <M-->, <M-?>, <M-$>, ...
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
`CTRL-SHIFT-...` key chords are distinguished from `CTRL-...` variants (even in
|
2015-01-30 05:19:43 -07:00
|
|
|
the terminal).
|
2015-04-24 16:10:59 -07:00
|
|
|
<C-Tab>, <C-S-Tab>
|
|
|
|
<C-BS>, <C-S-BS>
|
|
|
|
<C-Enter>, <C-S-Enter>
|
2015-01-30 05:19:43 -07:00
|
|
|
|
|
|
|
Events:
|
2015-04-24 16:10:59 -07:00
|
|
|
|TabNew|
|
|
|
|
|TabNewEntered|
|
|
|
|
|TabClosed|
|
2015-01-30 05:19:43 -07:00
|
|
|
|
|
|
|
Highlight groups:
|
2015-04-24 16:10:59 -07:00
|
|
|
|hl-EndOfBuffer|
|
|
|
|
|hl-TermCursor|
|
|
|
|
|hl-TermCursorNC|
|
2015-01-30 05:19:43 -07:00
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
5. Missing legacy features *nvim-features-missing*
|
|
|
|
|
|
|
|
These legacy Vim features may be implemented in the future, but they are not
|
|
|
|
planned for the current milestone.
|
|
|
|
|
|
|
|
- vim.bindeval() (new feature in Vim 7.4 Python interface)
|
|
|
|
- if_ruby
|
|
|
|
- if_lua
|
|
|
|
- if_perl
|
|
|
|
- if_mzscheme
|
|
|
|
- if_tcl
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
6. Removed features *nvim-features-removed*
|
|
|
|
|
|
|
|
These features are in Vim, but have been intentionally removed from Nvim.
|
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Vi-compatible mode:
|
|
|
|
":set nocompatible" is ignored
|
|
|
|
":set compatible" is an error
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Ed-compatible mode:
|
|
|
|
":set noedcompatible" is ignored
|
|
|
|
":set edcompatible" is an error
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
'ttyfast':
|
|
|
|
":set ttyfast" is ignored
|
|
|
|
":set nottyfast" is an error
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Encryption support:
|
|
|
|
'cryptmethod'
|
|
|
|
'key'
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
MS-DOS support:
|
|
|
|
'bioskey'
|
|
|
|
'conskey'
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Other options:
|
2015-05-07 08:20:38 -07:00
|
|
|
'macatsui'
|
2015-04-24 16:10:59 -07:00
|
|
|
'shortname'
|
|
|
|
'shelltype'
|
|
|
|
'textauto'
|
|
|
|
'textmode'
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Other commands:
|
|
|
|
:fixdel
|
|
|
|
:mode no longer accepts an argument
|
|
|
|
:shell
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-04-24 16:10:59 -07:00
|
|
|
Other compile-time features:
|
|
|
|
EBCDIC
|
2015-01-30 05:19:43 -07:00
|
|
|
|
2015-05-07 08:20:38 -07:00
|
|
|
Nvim does not have a built-in GUI and hence the following aliases have been
|
|
|
|
removed: gvim, gex, gview, rgvim, rgview
|
|
|
|
|
2015-01-30 05:19:43 -07:00
|
|
|
"Easy mode" (eview, evim, nvim -y)
|
2015-04-24 16:10:59 -07:00
|
|
|
"(g)vimdiff" (alias for "(g)nvim -d" |diff-mode|)
|
2015-01-30 05:19:43 -07:00
|
|
|
"Vi mode" (nvim -v)
|
|
|
|
|
|
|
|
The ability to start nvim via the following aliases has been removed in favor
|
|
|
|
of just using their command line arguments:
|
|
|
|
|
|
|
|
ex nvim -e
|
|
|
|
exim nvim -E
|
|
|
|
view nvim -R
|
|
|
|
rvim nvim -Z
|
|
|
|
rview nvim -RZ
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
vim:tw=78:ts=8:noet:ft=help:norl:
|