暫無描述

bfredl ddce846cef NVIM 0.10.4 3 月之前
.github 8d420a32db ci(release)!: remove backwards compatible releases 3 月之前
cmake b36cadcb8e build: specify POST_BUILD when using add_custom_command 4 月之前
cmake.config 3711a0387a refactor(build): make all generated c files headers 1 年之前
cmake.deps f8ee92feec fix: deps build for ARM64 MSVC 5 月之前
cmake.packaging 8d420a32db ci(release)!: remove backwards compatible releases 3 月之前
contrib 1db8824fbc build: remove nix flakes (#28863) 7 月之前
runtime e96f75a4e6 NVIM 0.10.4 3 月之前
scripts 8d420a32db ci(release)!: remove backwards compatible releases 3 月之前
src 22a327a20e fix(mpack): remove invalid bool definition 3 月之前
test 938a600847 vim-patch:9.1.1048: crash after scrolling and pasting in silent Ex mode (#32168) 3 月之前
.cirrus.yml a6d5bedb7d vim-patch:9.0.1892: CI: no FreeBSD 14 support (#26604) 1 年之前
.clang-format d561830a52 build: align .clang-format rules with uncrustify config 1 年之前
.clang-tidy a1550dbf0a build: silence new clang-tidy warnings 1 年之前
.clangd bcaff309b6 build: disable UnusedIncludes from clangd 1 年之前
.editorconfig 5f7560b8da build(editorconfig): set indent_size to 4 for python files (#21135) 2 年之前
.git-blame-ignore-revs 56ae85a33c docs: .git-blame-ignore-revs #26397 1 年之前
.gitattributes e8d3c4cccb feat: generate types and docs for v variables 1 年之前
.gitignore c0beb8173f feat: add .luarc.json (#24592) 1 年之前
.luacheckrc e5d7003b02 build: rework formatting to use add_glob_target 1 年之前
.luacov 678a51b1da Lua: vim.validate() 5 年之前
.luarc.json d51b615747 refactor: fix luals warnings 1 年之前
.mailmap 234b5f6701 docs: various fixes (#28208) 1 年之前
.stylua.toml 517f0cc634 build: enable lintlua for scripts/ dir #26391 1 年之前
.styluaignore 59d117ec99 build: enable lintlua for test/ dir 1 年之前
BSDmakefile 69fe427df4 feat(lua)!: register_keystroke_callback => on_key 3 年之前
BUILD.md fdcdf560da ci(release): add linux-arm64 appimage and tarball 3 月之前
CMakeLists.txt e96f75a4e6 NVIM 0.10.4 3 月之前
CMakePresets.json 664f2749e6 build: add "ci" configure preset to reduce verbosity 2 年之前
CONTRIBUTING.md 01b6bff7e9 docs: news 11 月之前
INSTALL.md fdcdf560da ci(release): add linux-arm64 appimage and tarball 3 月之前
LICENSE.txt cbf54ec2a5 vim-patch:e978b4534a5e (#24697) 1 年之前
MAINTAIN.md 7774ca9107 ci: bump macos runner version to macos-15 5 月之前
Makefile baaaf6a9e7 build: fix install 3 月之前
README.md b0f9228179 docs: remove mentions of scan-build 1 年之前

README.md

Neovim Documentation | Chat

Coverity Scan analysis Packages Debian CI Downloads

Neovim is a project that seeks to aggressively refactor Vim in order to:

See the Introduction wiki page and Roadmap for more information.

Features

See :help nvim-features for the full list, and :help news for noteworthy changes in the latest version!

Install from package

Pre-built packages for Windows, macOS, and Linux are found on the Releases page.

Managed packages are in Homebrew, Debian, Ubuntu, Fedora, Arch Linux, Void Linux, Gentoo, and more!

Install from source

See BUILD.md and supported platforms for details.

The build is CMake-based, but a Makefile is provided as a convenience. After installing the dependencies, run the following command.

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

To install to a non-default location:

make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/
make install

CMake hints for inspecting the build:

  • cmake --build build --target help lists all build targets.
  • build/CMakeCache.txt (or cmake -LAH build/) contains the resolved values of all CMake variables.
  • build/compile_commands.json shows the full compiler invocations for each translation unit.

Transitioning from Vim

See :help nvim-from-vim for instructions.

Project layout

├─ cmake/           CMake utils
├─ cmake.config/    CMake defines
├─ cmake.deps/      subproject to fetch and build dependencies (optional)
├─ runtime/         plugins and docs
├─ src/nvim/        application source code (see src/nvim/README.md)
│  ├─ api/          API subsystem
│  ├─ eval/         Vimscript subsystem
│  ├─ event/        event-loop subsystem
│  ├─ generators/   code generation (pre-compilation)
│  ├─ lib/          generic data structures
│  ├─ lua/          Lua subsystem
│  ├─ msgpack_rpc/  RPC subsystem
│  ├─ os/           low-level platform code
│  └─ tui/          built-in UI
└─ test/            tests (see test/README.md)

License

Neovim contributions since b17d96 are licensed under the Apache 2.0 license, except for contributions copied from Vim (identified by the vim-patch token). See LICENSE for details.

Vim is Charityware.  You can use and copy it as much as you like, but you are
encouraged to make a donation for needy children in Uganda.  Please see the
kcc section of the vim docs or visit the ICCF web site, available at these URLs:

        https://iccf-holland.org/
        https://www.vim.org/iccf/
        https://www.iccf.nl/

You can also sponsor the development of Vim.  Vim sponsors can vote for
features.  The money goes to Uganda anyway.