I'm not sure why you think this is tricky. The bindkey in normal mode is different from in enter function mode - so if using hiSetBindKey and you want to set or erase both the normal and enter function modes, you have to call hiSetBindKey twice, which is what you've done here with your step 3. After many releases of having no bind keys by default, we made a change a few releases back to automatically load the bindkeys in /share/cdssetup/dfII/bindkeys (these can also be overridden by the setup.loc mechanism) rather than requiring everyone to load a full set of bind keys from their .cdsinit file. However, what that means is that if you want to erase one of the defaults, you have to set it to blank. You could also just do: hiSetBindKeys("Layout" list( list("Ctrl " "hiZoomInAtMouse()" "") )) which would do the same thing. This function allows you to set both the normal and the enter function bind keys at the same time. That's the function used that you see if you save from the Options->BindKey form. Andrew.
↧