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

replace iunmap <CR> with inoremap <CR> <CR> #669

Merged
merged 1 commit into from
Sep 8, 2014

Conversation

wolfgangpfnuer
Copy link
Contributor

If noninvasive completion is set, i get the following error:

Error detected while processing ~/.vimrc:
line 730:
E31: No such mapping
Press ENTER or type command to continue

To avoid this "no such mapping" error, instead of unmapping the commands for one can simply overwrite it with itself to reset it, which works regardless of wether the mapping existed or not.

If noninvasive completion is set, i get the following error:

Error detected while processing ~/.vimrc:
line  730:
E31: No such mapping
Press ENTER or type command to continue

To avoid this "no such mapping" error, instead of unmapping the commands for <CR> one can simply overwrite it with itself to reset it, which works regardless of wether the mapping existed or not.
spf13 added a commit that referenced this pull request Sep 8, 2014
replace iunmap <CR> with inoremap <CR> <CR>
@spf13 spf13 merged commit ff1c8bc into spf13:3.0 Sep 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants