Vim-fork focused on extensibility and usability
Go to file
Ricky Zhou 8fd3725cc8 tui: Hint wrapped lines to terminals.
Previously, when neovim would wrap a line across multiple lines,
terminal emulators could not detect that the lines represent a single
wrapped line as opposed to several separate lines. As a result, many
terminals' selection/copying functionality would treat a wrapped line as
several newline-delimited lines.

Fix this by reenabling a "special trick" from Vim. When a line is
wrapped, write the last character of that line followed by the first
character of the next line to the terminal. This hints to the terminal
that the next line is a continuation of the current line.

Extends the raw_line event with a "wrap" parameter which controls when
to do wrap hinting.
2018-09-03 03:25:02 -07:00
busted/outputHandlers test: Dump $NVIM_LOG_FILE contents (#8926) 2018-08-28 22:13:34 +02:00
ci test: Dump $NVIM_LOG_FILE contents (#8926) 2018-08-28 22:13:34 +02:00
cmake build/test: skip empty TEST_TAG, TEST_FILTER 2018-06-16 02:12:35 +02:00
config *: Add some PVS comments 2018-04-15 20:07:07 +03:00
contrib contrib: fix local.mk.example (#8286) 2018-04-16 21:21:44 +02:00
man Ex mode: use getexline() instead of getexmodeline() 2018-06-17 14:50:53 +02:00
runtime doc/defaults: document ttimeoutlen default (#8943) 2018-09-01 18:17:49 +02:00
scripts vim-patch.sh: Also check for .git/ directory 2018-08-21 08:37:49 +02:00
snap dist: snap packaging #7918 2018-01-29 23:02:15 +01:00
src tui: Hint wrapped lines to terminals. 2018-09-03 03:25:02 -07:00
test Merge pull request #8942 from bfredl/attr_state 2018-09-03 12:16:49 +02:00
third-party win/dist: nvim-qt v0.2.10 (#8901) 2018-08-26 15:29:00 +02:00
unicode Update unicode files 2018-07-10 06:53:11 -04:00
.editorconfig editorconfig: Makefile uses 8-width tab indent 2018-08-23 13:47:15 -04:00
.gitignore makedeps.bat 2018-06-06 00:58:57 +02:00
.travis.yml build/CMake: find_package(… REQUIRED) 2018-06-06 00:58:57 +02:00
appveyor.yml ci/AppVeyor: enable MSVC_32 build 2018-03-26 10:54:44 -05:00
BACKERS.md Update backer URL 2015-11-11 19:50:33 -08:00
BSDmakefile build: show a hint for BSD make (#7275) 2017-09-16 10:54:49 +02:00
CMakeLists.txt cmake: bump API version 2018-07-25 14:09:04 +10:00
codecov.yml CI/Codecov: enable changes status (#8910) 2018-08-26 14:24:22 +02:00
CONTRIBUTING.md doc: job/channel, misc #7783 2018-06-11 00:08:27 +02:00
ISSUE_TEMPLATE.md doc: ISSUE_TEMPLATE.md 2017-07-08 14:59:06 +02:00
LICENSE LICENSE: add LuaJIT notice. #899 2014-06-30 13:59:56 -04:00
Makefile build: respect $DEPS_BUILD_DIR 2018-03-11 15:38:18 +01:00
README.md doc: README: "Transitioning from Vim" note (#8763) 2018-07-23 03:06:27 +02:00

Neovim

Wiki | Documentation | Twitter | Community | Gitter Chat

Travis Build Status AppVeyor Build status codecov Coverity Scan Build Clang Scan Build PVS-studio Check

Packages Debian CI Downloads

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

See the wiki and Roadmap for more information.

Throughput Graph

Features

See :help nvim-features for the full list!

Install from source

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

To install to a non-default location, set CMAKE_INSTALL_PREFIX:

make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/full/path/"
make install

To list all targets:

cmake --build build --target help

To skip "bundled" dependencies define USE_BUNDLED_DEPS=NO (CMake option: USE_BUNDLED=NO).

See the wiki for details.

Install from package

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

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

Transitioning from Vim

See :help nvim-from-vim for instructions.

Project layout

├─ ci/              build automation
├─ cmake/           build scripts
├─ runtime/         user plugins/docs
├─ src/             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.