暂无描述

bfredl 43f3c4a48f Merge pull request #33481 from bfredl/gridview 7 小时之前
.github 0814086a23 docs: misc (#33093) 2 周之前
cmake 0f24b0826a build: move all generator scripts to `src/gen/` 2 月之前
cmake.config 4c25e60767 test: port libvterm unit test to neovim test suite 6 月之前
cmake.deps 06613989a6 build(deps): bump libuv to v1.51.0 3 天之前
cmake.packaging 318676ad13 ci(release)!: remove backwards compatible releases 3 月之前
contrib 535c2f8658 build(contrib): add zsh completion (#32617) 1 月之前
runtime 317a897c46 vim-patch:b9ffbf5: runtime(vim): Update base-syntax, fix inline Vim9 dict comments at SOL (#33686) 17 小时之前
scripts f4d9a2983a build(release.sh): fix hang when generating docs (#33026) 1 月之前
src 43f3c4a48f Merge pull request #33481 from bfredl/gridview 7 小时之前
test ce097c5091 Merge #33542 shada improvements 18 小时之前
.cirrus.yml 8117db48ed ci(cirrus): update to freebsd-14-2 2 月之前
.clang-format d561830a52 build: align .clang-format rules with uncrustify config 1 年之前
.clang-tidy 046e0956ee build: fix or silence new clang-tidy warnings 7 月之前
.clangd bcaff309b6 build: disable UnusedIncludes from clangd 1 年之前
.editorconfig f96606371c docs: misc 1 月之前
.git-blame-ignore-revs 56ae85a33c docs: .git-blame-ignore-revs #26397 1 年之前
.gitattributes 874e214993 fix: remove exec permission from .gitattributes #33140 1 月之前
.gitignore 8a7c9c971f build: ignore out-of-source build folder #33191 4 周之前
.luacheckrc b533c0f222 ci: add "_" to luacheck's list of global variables 2 月之前
.luacov 678a51b1da Lua: vim.validate() 5 年之前
.luarc.json 8c81ed8678 feat(runtime): revert cfilter, ccomplete to legacy Vim 6 天之前
.mailmap 8c5af0eb85 docs: misc (#28837) 10 月之前
.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 0814086a23 docs: misc (#33093) 2 周之前
CMakeLists.txt 2c960e8f04 ci(deps): bump lua-language-server to 3.14.0 3 周之前
CMakePresets.json 6a425e7045 docs: misc 3 月之前
CONTRIBUTING.md 0f24b0826a build: move all generator scripts to `src/gen/` 2 月之前
INSTALL.md 0814086a23 docs: misc (#33093) 2 周之前
LICENSE.txt cbf54ec2a5 vim-patch:e978b4534a5e (#24697) 1 年之前
MAINTAIN.md 2fcdeb0128 refactor(lsp): gen_lsp 1 周之前
Makefile 4a0ee22e77 build: make makefile work on msys 2 月之前
README.md 44afd07443 docs(tui): rename term.txt, nvim_terminal_emulator.txt #30398 7 月之前

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.