-
Notifications
You must be signed in to change notification settings - Fork 30
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
:map j gj gives "Recursive mapping" error #39
Comments
I wonder why it doesn't give an error in Vim ( I don't know how to fix this. It should be safe to use |
Here's a example from my vim config, could apply to you too: for context in ['n', 'v']
let ccontext = context . 'noremap'
exec ccontext 'h b'
exec ccontext 'l w'
exec ccontext 'b h'
exec ccontext 'w l'
endfor |
It's quite stupid, I should have done some more digging when I did this noremap h b
noremap l w
noremap b h
noremap w l |
My .vimrc is shared with my actual vim installation. I have the following mappings, which lead to errors:
This works fine in real vim, but gives a Recursive Mapping error in FakeVim.
The text was updated successfully, but these errors were encountered: