Vim-fork focused on extensibility and usability
  • Vim Script 40.3%
  • Lua 31.9%
  • C 27%
  • CMake 0.4%
  • Zig 0.1%
  • Other 0.1%
Find a file
zeertzjq 492b8c9e9c
vim-patch:9.2.0475: runtime(netrw): bookmark paths not normalized (#39748)
Problem:  the bookmarks list can have duplicate entries, more often
          in win32 (due to mixed slashes and capitalization) and when
          g:netrw_keepdir=0 (which could introduce relative paths).
          Duplicate entries could be: C:\foo\BAR\baz.file
                                     c:\foo\bar\baz.file
                                     c:/foo\BAR/baz.file
                                     BAR/baz.file
Solution: Normalize the paths and make sure they are always absolute
          (J. Paulo Seibt).

closes: vim/vim#20194

74019bea8c

Co-authored-by: J. Paulo Seibt <jpseibt@gmail.com>
2026-05-11 23:52:44 +00:00
.github ci: bump github/codeql-action 2026-05-08 15:00:04 +02:00
cmake ci: drop cirrus #39321 2026-04-22 18:25:07 -04:00
cmake.config build: haiku os support #36639 2025-11-23 09:45:00 -08:00
cmake.deps build(deps): bump tree-sitter to fb348c349 2026-04-27 10:38:09 +02:00
cmake.packaging build: update-alternatives during deb install #37980 2026-03-21 04:50:47 -04:00
contrib test: replace busted with local harness 2026-04-15 12:09:25 +01:00
deps fix(build): more changes to make zig 0.16.0 work 2026-04-21 12:46:01 +02:00
runtime vim-patch:9.2.0475: runtime(netrw): bookmark paths not normalized (#39748) 2026-05-11 23:52:44 +00:00
scripts build(vim-patch): AGENTS.md is N/A #39490 2026-04-29 07:07:30 -04:00
src vim-patch:9.2.0471: vimvars di_key initialized at runtime (#39747) 2026-05-11 23:51:42 +00:00
test vim-patch:9.2.0475: runtime(netrw): bookmark paths not normalized (#39748) 2026-05-11 23:52:44 +00:00
.clang-format fix(style): drop clang-format #39514 2026-05-01 10:01:40 -04:00
.clang-tidy build: update clang v21, fix warnings 2026-04-14 18:39:38 +02:00
.clangd build(clangd): docstrings are Doxygen 2026-03-20 23:30:09 +01:00
.editorconfig fix(editorconfig): use 4 spaces indentation for zig files 2026-01-13 22:09:03 -05:00
.emmyrc.json build(emmyrc.json): use StyLua formatter in .emmyrc.json #35196 2025-08-06 19:52:46 -07:00
.git-blame-ignore-revs docs: .git-blame-ignore-revs #26397 2024-01-28 15:03:10 -08:00
.gitattributes fix(lua): not obvious which _meta/ files are generated #39035 2026-04-14 05:38:47 -04:00
.gitignore fix(build): more changes to make zig 0.16.0 work 2026-04-21 12:46:01 +02:00
.luacheckrc fix(lua): not obvious which _meta/ files are generated #39035 2026-04-14 05:38:47 -04:00
.luacov build: move shared.lua to _core/ 2025-12-30 01:44:52 -05:00
.luarc.json fix(luarc.json): increase workspace.preloadFileSize #39711 2026-05-10 08:11:20 -04:00
.mailmap docs: fix .mailmap entry (#37259) 2026-01-05 16:34:51 -08:00
.stylua.toml build: enable lintlua for scripts/ dir #26391 2023-12-04 12:38:31 -08:00
.stylua2.toml refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 2025-05-06 18:00:20 -07:00
.styluaignore refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 2025-05-06 18:00:20 -07:00
AGENTS.md ci: label disclosed AI-assisted PRs 2026-03-13 12:29:44 +00:00
BSDmakefile feat(lua)!: register_keystroke_callback => on_key 2021-09-09 06:09:33 -07:00
BUILD.md docs: misc, rename "tabpage" 2026-05-07 10:36:48 +02:00
build.zig fix(build.zig): reunify parser install path 2026-04-23 15:37:37 +02:00
build.zig.zon build(deps): bump tree-sitter to fb348c349 2026-04-27 10:38:09 +02:00
CMakeLists.txt fix(lua): don't strip debuginfo in precompile module #39191 2026-04-23 12:42:41 -04:00
CMakePresets.json docs: misc 2025-01-11 10:34:12 +01:00
CONTRIBUTING.md fix(style): drop clang-format #39514 2026-05-01 10:01:40 -04:00
INSTALL.md docs: misc #39045 2026-04-18 15:38:59 -04:00
LICENSE.txt docs: api, messages, lsp, trust 2026-03-11 18:00:18 +01:00
MAINTAIN.md docs: api, messages, lsp, trust 2026-03-11 18:00:18 +01:00
Makefile test: lint EXX error codes #8155 2026-04-16 10:48:11 -04:00
README.md feat(ftplugin): treesitter default highlighting for markdown 2026-02-17 10:35:19 +01:00

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.txt for details.