Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim mode? #130

Closed
blueyed opened this issue Jul 16, 2015 · 5 comments
Closed

Neovim mode? #130

blueyed opened this issue Jul 16, 2015 · 5 comments

Comments

@blueyed
Copy link
Member

blueyed commented Jul 16, 2015

I am getting the following error from my vimrc:

E492: Not an editor command: tnoremap <C-h> <C-\><C-n><C-w>h (see ynkdir/vim-vimlparser)

It is used like this:

if exists(':tnoremap')  " Neovim
  tnoremap <C-h> <C-\><C-n><C-w>h
  tnoremap <C-j> <C-\><C-n><C-w>j
  tnoremap <C-k> <C-\><C-n><C-w>k
  tnoremap <C-l> <C-\><C-n><C-w>l
endif

It would be useful probably to have a Neovim-mode, which needs to be supported by https://github.com/ynkdir/vim-vimlparser then probably?!

@Kuniwak
Copy link
Member

Kuniwak commented Jul 17, 2015

then probably?!

Sounds good!
We can support it when vim-vimlparser can parse :tnoremap.

@zchee
Copy link

zchee commented Aug 22, 2015

+1
#yapcasia :)

@vito-c
Copy link

vito-c commented Sep 14, 2015

+1

@RianFuro
Copy link
Contributor

I opened a pull request over there with changes to support the neovim command set. vim-jp/vim-vimlparser#19

If that goes through all that's left is to make a command line switch for neovim support in vint that's passed into the parser :)

@Kuniwak Kuniwak mentioned this issue Feb 12, 2016
@Kuniwak
Copy link
Member

Kuniwak commented Feb 12, 2016

Thank you, @RianFuro !

This feature was shipped with v0.3.6.
Please update and try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants