On Do, 12.04.2012, 23:11, Anton Samoylov wrote: > I'm working at new way to store keybindings. They are stored in ini file with all required options (code can be seen at > https://code.launchpad.net/~toshaevil/stellarium/new-keybindings ). In future I want to give user tool for customizing keybindings for his own needs.
Sounds good, esp. for international keyboards! > Now the question: is it a good idea to make some keymaps (such as "classic", "emacs" and "vim"), with their own representations and styles (classic has simple one-key bindings, and limited number of possible keybindings, emacs uses C-a M-b multi-key convention)? Probably different > keymaps will be stored in different files, for easier interacting. I think most users will likely only remember to use "classic" with combinations including SHIFT, CTRL and ALT. Of course, for some applications or presenters, advanced keybindings may be interesting (like defining presets and using things like "C-s 5" to load the 5th configured Skyculture, "C-l 3" for the 3rd landscape, "C-x C-s 4" to run the fourth script, or so?), but maybe it's overkill? I use emacs but admittedly only use a fraction of what's available, on the other hand frequently I use (a handful of) M-x <macroname> calls, so the next thing to extend multi-key actions into would call for a fully interactive command line with tab-completion... Other opinions please? G. -- DI Dr Georg Zotti LBI ArchPro ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
