Vim-fork focused on extensibility and usability
Go to file
Justin M. Keyes 317d5ca7b0 input: Do not set high-bit; preserve ALT modifier.
Background: Vim internally prefers to represent ALT/META chords as
single-byte keys, by setting the high bit of the key byte.
extract_modifiers() _discards_ the meta/alt modifier, but we need it for
libvterm and libtermkey.

Closes #2440
Closes #3727
Closes #2017
References #2277
References #2254

https://github.com/neovim/neovim/issues/2017#issuecomment-140423557
> We [not libtermkey] are setting the high bit for some reason

https://github.com/neovim/neovim/issues/176#issuecomment-77834715
> libvtermkey requires the leading esc to parse alt/meta

https://github.com/neovim/neovim/pull/3246#issuecomment-136328450
> A program could do better than the current logic on some terminals, by
> asking for pure 8bit mode (S8C1T) and then immediately querying the
> mode again. If the result comes back as an 8bit single-byte CSI, then
> it can presume the mode setting was successful, and now the ESC prefix
> byte won't be seen in multibyte sequences; only as an Alt- prefix or
> a real Escape key. On such a terminal, it could therefore avoid
> needing to use that waiting timeout.
2016-01-11 00:29:58 -05:00
.ci test: change CI_TARGET reference to CI 2016-01-01 23:58:42 -05:00
cmake MinGW: Add libluajit-5.1 lib name to FindLuaJit 2015-12-02 23:07:22 -05:00
config Port fsync() to libuv. 2016-01-01 00:12:28 -05:00
contrib cmake: Pass -DMIN_LOG_LEVEL as compiler definition 2016-01-10 17:06:53 +00:00
man Remove all invalid nvimrc and ngvimrc references 2015-11-11 22:50:14 +01:00
runtime vim-patch:e271909 2016-01-10 12:47:35 +01:00
scripts vim-patch.sh: fix regression 2016-01-08 19:12:36 -05:00
src input: Do not set high-bit; preserve ALT modifier. 2016-01-11 00:29:58 -05:00
test input: Do not set high-bit; preserve ALT modifier. 2016-01-11 00:29:58 -05:00
third-party build: ensure static jemalloc. #3970 2016-01-09 12:23:02 -05:00
unicode Update unicode files 2015-07-26 22:59:46 +03:00
.asan-blacklist eval: Implement dictionary change notifications 2015-11-09 09:43:30 -03:00
.gitignore gitignore: Ignore errors.json 2015-12-22 15:22:21 -05:00
.travis.yml cmake: Pass -DMIN_LOG_LEVEL as compiler definition 2016-01-10 17:06:53 +00:00
.valgrind.supp job: Refactor process spawning and startup arguments 2015-02-23 21:43:33 -03:00
appveyor.yml Windows: Crank to MSVC 2015 on AppVeyor. #3254 2015-08-27 23:21:04 -04:00
BACKERS.md Update backer URL 2015-11-11 19:50:33 -08:00
clint.py clint: Check indentation and alignment inside expressions 2015-12-11 19:08:46 +03:00
CMakeLists.txt Merge pull request #2667 from equalsraf/tb-min-log 2016-01-10 12:21:52 -05:00
CONTRIBUTING.md CONTRIBUTING.md: Remove outdated info 2016-01-08 17:47:09 -05:00
Doxyfile update theme to match neovim.org 2014-06-19 11:53:57 +02:00
LICENSE LICENSE: add LuaJIT notice. #899 2014-06-30 13:59:56 -04:00
Makefile Make make test run unit tests too 2015-11-27 18:08:15 -05:00
neovim.rb Homebrew: move formula to neovim/homebrew-neovim 2014-11-09 20:14:01 +08:00
README.md Update README.md 2015-10-30 22:33:28 -04:00

Neovim

Website | Community | Wiki | Documentation | Mailing List | Twitter | Bountysource

Travis Build Status AppVeyor Build status Pull requests waiting for review Coverage Status Coverity Scan Build Clang Scan Build Join the chat at https://gitter.im/neovim/neovim

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

  • Simplify maintenance and encourage contributions
  • Split the work between multiple developers
  • Enable the implementation of new/modern user interfaces without any modifications to the core source
  • Improve extensibility with a new plugin architecture

For lots more details, see the wiki!

What's been done so far

See the progress page for a comprehensive list.

Throughput Graph

What's being worked on now

  • Port all IO to libuv
  • Convert legacy tests to Lua tests
  • VimL => Lua translator

How do I get it?

There is a formula for OSX/homebrew, a PKGBUILD for Arch Linux, RPM, deb, and more. See the wiki!

Contributing

...would be awesome! See the wiki for more details.

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.