On Fri, Apr 13, 2012 at 12:11 AM, Anton Samoylov <[email protected]> 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.

There was some discussion and effort spent in this direction in the
past. I was going to write a summary of the conflicting viewpoints,
but my Stellarium TODO list is quite long and it kept dropping down. I
can send you some links to the archives.

Also, please consider using JSON instead of configuration files.
Stellarium already has a JSON parser.

> 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 that this will overtly complicate matters. As I see it, a
window/GUI to change key bindings and the ability to save/load
configurations is enough. (Perhaps also some kind of pointing out that
key bindings are not limited to a single key.) If someone bothers to
create different configurations, they can be supplied as loadable
files.

I'll comment on the other points in the email thread, but I don't have
time right now (family/holidays/studying).

Regards,
Bogdan Marinov

------------------------------------------------------------------------------
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

Reply via email to