Hi all,

In order to deactivate the "d" key binding the soft way, I have "map d
stop" in <.vimprobablerc> (an 'unmap' command or a 'noop' action would
be nice, I think we talked about it some time ago). But the mapping
doesn't work, it doesn't override the value in <keymap.h>.

I'm using Vimprobable2 1.4.0 on Raspbian, but this problem happened with
a pathched 1.3.0 as well.

In order to find out the error conditions, I have being moving "map d
jumpbottom", executing Vimprobable and pressing "d", again and again.
My provisional conclusion is "map d" overrides the default configuration
only if it's not the first 'map' command in the file, and if there are
some other commands before the first 'map'.

Then I noticed the "d" mapping is the last one defined in <keymap.h>,
what made me suspect.  I've exchanged the position of the last two key
bindings in the array, compiled... and the problem was solved. Now "map
d" works in any position of <.vimprobablerc> (and presumably the other
mapping is affected).

It seems there's a bug. I hope this little investigation helps to remove
it.

Marcos

-- 
http://programandala.net

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Vimprobable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vimprobable-users

Reply via email to