Closed HaleTom closed 6 years ago
For now, I'm doing the analogous to not load the plugin:
" Exclude bundles which don't work in Neovim
if !has('nvim')
" Fixkey - fixes meta / alt key codes for console Vim
NeoBundle 'drmikehenry/vim-fixkey' " https://github.com/drmikehenry/vim-fixkey
endif
I don't run Neovim, but I thought it natively supports mapping alt keys in the terminal, making vim-fixkey unnecessary. See, for instance, the Neovim help at {{help t_xx}} (on this page: https://neovim.io/doc/user/vim_diff.html). Your fix to skip loading of vim-fixkey seems like the right idea to me when running on Neovim.
Excellent, thanks!
making vim-fixkey unnecessary
@drmikehenry, Could you add neovim detection inside plugin (and skip in that case)? It will be useful in shared (vim & neovim) configuration for new users and/or new installations.
Fixkey version 0.3.11 adds a check for has('nvim')
and silently skips its initialization if Neovim is detected. Thanks to @rysson for testing this on Neovim.
...
The
ttymouse
issue at the end seems to be resolvable by using:I'm not sure about the mapping issues though.