Keyboard mapping
Posted: Sat Jan 05, 2008 1:19 pm
I generally use ZeusEdit for writing COBOL code and less often, C code. But what I've observed is that the keyboard mappings are at the editor level. Or, another way of thinking about them is to say that the keyboard mappings are global. Example: if I map something to F11, it is mapped to F11 no matter what type of document I am dealing with.
How then can one have non-global (i.e. document type specific) keyboard mappings? I may want one set of mappings when I deal with COBOL, but a different set when I deal with C. Unless I overlooked it (quite possible), I didn't see any functions I could use to change them programatically. If there aren't any, then I would ask that that be added to the feature list.
Alternatively, it would be nice to be able to specify keyboard mappings at either level: global (editor level) or local (document type). And any mapping at the local level overrides the same mapping (if any) at the global level - for each key. In such a fashion, I could have the majority of my non-document specific mappings defined at the editor level, and the document-specific ones defined within each document.
Does this makes sense (hopefully)? Anyone else in favor of such an approach?
How then can one have non-global (i.e. document type specific) keyboard mappings? I may want one set of mappings when I deal with COBOL, but a different set when I deal with C. Unless I overlooked it (quite possible), I didn't see any functions I could use to change them programatically. If there aren't any, then I would ask that that be added to the feature list.
Alternatively, it would be nice to be able to specify keyboard mappings at either level: global (editor level) or local (document type). And any mapping at the local level overrides the same mapping (if any) at the global level - for each key. In such a fashion, I could have the majority of my non-document specific mappings defined at the editor level, and the document-specific ones defined within each document.
Does this makes sense (hopefully)? Anyone else in favor of such an approach?