WolfgangMehner / vim-plugins

Vim plug-ins which offer support for various programming languages.
414 stars 96 forks source link

Not using "noremap" interferes with user mapping #7

Closed bamoqi closed 10 years ago

bamoqi commented 10 years ago

I remapped many standard vim keys. Since c-support use "map" instead of "noremap" in a lot of places, it triggers my custom mappings instead, making it unusable. Notably I cannot insert any template. Would you consider fixing it please?

WolfgangMehner commented 10 years ago

I will look into this. You are absolutely right about this issue.

WolfgangMehner commented 10 years ago

Fixed in the newest commit (this file replaces plugin/c.vim): https://raw2.github.com/WolfgangMehner/vim-plugins/master/plugin/c.vim

This version contains the following changes:

bamoqi commented 10 years ago

Still need to fix "normal" to "normal!".

%s/\<normal\>!\@!/normal!/gc    " gdefault is off
WolfgangMehner commented 10 years ago

Another try. This replaces autoload/mmtemplates/core.vim: https://raw2.github.com/WolfgangMehner/vim-plugins/master/autoload/mmtemplates/core.vim This replaces plugin/c.vim: https://raw2.github.com/WolfgangMehner/vim-plugins/master/plugin/c.vim

bamoqi commented 10 years ago

Still need to fix "menu" to "noremenu"