Hi,

I'd be interesting in having added (or adding myself) a feature to LyX.

It would be neat if there were a user-configurable way to reassign
shortcuts. For example, I type "\pmatrix" a lot, and would like to
assign a shortcut like "\Pm" or something. It would be nice if I could
just edit a user profile file and reassign pmatrix to Pm.

Looking through the source code, this should be too difficult to
implement; I could just replace all the string literals in src/mathed/
with a call to a function which is passed the original command string
("pmatrtix"), then searches the aliases file. If it finds an alias for
pmatrix it returns it, otherwise it returns its argument.

If this sounds like something that would be good, I'd be willing to
write a patch some time in the next few months, if you can tell me
against which version I should patch (latest cvs?). Alternatively, being
an overworked college student, I wouldn't complain if someone else were
to do it.

Just a suggestion.

Cheesy tagline: I use LyX to do all my homework/quizzes/tests and to
take notes in class;)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to