rhysd / neovim-component

<neovim-editor> WebComponent to embed Neovim to your app with great ease
https://github.com/rhysd/NyaoVim
MIT License
193 stars 18 forks source link

Passthrough Control Mappings. `<C-w>`, `<C-d>`, `<C-u>`, etc. #50

Open ddrscott opened 6 years ago

ddrscott commented 6 years ago

These are the 3 most common default ctrl mappings I use. It would be great if the worked. Here's a screen shot of the send natively using insert mode <C-v>.

screen shot 2017-12-27 at 5 15 29 am

Some system info: Mac OS 10.11.6

NVIM v0.2.2
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20171118-36724-uevp4/neovim-0.2.2/build/config -I/tmp/neovim-20171118-36724-uevp4/neovim-0.2.2/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20171118-36724-uevp4/neovim-0.2.2/build/src/nvim/auto -I/tmp/neovim-20171118-36724-uevp4/neovim-0.2.2/build/include
Compiled by brew@ElCapitan-2.local

Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.2.2/share/nvim"