暫無描述

Justin M. Keyes d9dd30a955 Merge #12822 release-0.4 patches 4 年之前
.builds 018ec2172b ci: bump openbsd image 6.5 -> 6.7 4 年之前
.github 2ef6f28e11 doc [ci skip] #10177 5 年之前
ci 704151c8a2 ci: fix build failure in Travis [skip appveyor] (#12678) 4 年之前
cmake d56f6fed9c build/MSVC: fix gettext multibyte issue #11774 4 年之前
config ad4eb18e43 Merge #10098 'win: fix msg_puts_printf()' 5 年之前
contrib 6ebe476675 build: clean up / remove X_USE_STATIC (#10713) 5 年之前
man 81c3fa6c9d doc 5 年之前
runtime 1c3afe4e25 doc: powershell is 'pwsh' on non-Windows OS 4 年之前
scripts 2e0e592ea2 release.sh: bump nvim.appdata.xml 5 年之前
snap ca31f81a31 dist: snap packaging #7918 6 年之前
src b2cef8b665 terminal: fix terminal attribute overflow 4 年之前
test b2cef8b665 terminal: fix terminal attribute overflow 4 年之前
third-party 1de33ce2cd build: remove duplicate empty CONFIGURE_COMMAND (#12676) 4 年之前
unicode 8e8c7d7544 vim-patch:8.1.1470: new doublewidth Unicode character U32FF #10126 5 年之前
.clang-format 67305ffb5d lint: src/.clang-format 6 年之前
.editorconfig 0c42e0e8b1 editorconfig: set default tab width to 8 (#9467) 5 年之前
.flake8 d651710de1 ci: pylint target via flake8 5 年之前
.gitattributes 71e0768e08 make all *.h linguist-language as C file #10442 5 年之前
.gitignore 6bb24b45f8 .gitignore: src/nvim/testdir/*.tlog 5 年之前
.luacheckrc 34c6e5beaf tests: move "busted" dir to "test" (#10518) 5 年之前
.travis.yml dd0a3cd22f CI/travis: workaround broken homebrew 4 年之前
BACKERS.md 846fe25111 Update backer URL 9 年之前
BSDmakefile 1cebf17fbe build: show a hint for BSD make (#7275) 7 年之前
CMakeLists.txt 40dc1ba85c version bump 4 年之前
CONTRIBUTING.md afef973262 doc [ci skip] #10383 5 年之前
LICENSE 9d8733c579 LICENSE: add LuaJIT notice. #899 10 年之前
MAINTAIN.md 81c3fa6c9d doc 5 年之前
Makefile 6cc76194b2 tests: use runtime from build for doc/tags with :help (#10479) 5 年之前
README.md 27cd1e07ed doc [ci skip] 5 年之前
appveyor.yml 6c65f8f182 CI/AppVeyor: revert whitelist 5 年之前
codecov.yml e13ae7cae6 ci: revisit/fix coverage uploading (#10201) 5 年之前

README.md

Neovim

Wiki | Documentation | Chat/Discussion | Twitter

Travis build status AppVeyor build status Codecov coverage Coverity Scan analysis Clang analysis PVS-Studio 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!

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, Gentoo, and more!

Install from source

The build is CMake-based, but a Makefile is provided as a convenience.

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

To install to a non-default location:

make CMAKE_INSTALL_PREFIX=/full/path/
make install

To skip bundled (third-party/*) dependencies:

  1. Install the dependencies using a package manager. sudo apt install gperf luajit luarocks libuv1-dev libluajit-5.1-dev libunibilium-dev libmsgpack-dev libtermkey-dev libvterm-dev sudo luarocks build mpack sudo luarocks build lpeg sudo luarocks build inspect
  2. Build with USE_BUNDLED=OFF: make CMAKE_BUILD_TYPE=RelWithDebInfo USE_BUNDLED=OFF sudo make install

To inspect the build, these CMake features are useful:

  • 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.

See the Building Neovim wiki page for details.

Transitioning from Vim

See :help nvim-from-vim for instructions.

Project layout

├─ ci/              build automation
├─ cmake/           build scripts
├─ runtime/         user plugins/docs
├─ src/nvim/        application source code (see src/nvim/README.md)
│  ├─ api/          API subsystem
│  ├─ eval/         VimL 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
├─ third-party/     CMake subproject to build dependencies
└─ test/            tests (see test/README.md)

License

Neovim is licensed under the terms of the Apache 2.0 license, except for parts that were contributed under the Vim license.

  • Contributions committed before b17d96 remain under the Vim license.

  • Contributions committed after b17d96 are licensed under Apache 2.0 unless those contributions were copied from Vim (identified in the commit logs 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:

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

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