On Thu, 9 Nov 2006, Alex Roper wrote: Hi Alex,
You wrote this a while back, and by coincedence I placed a note regarding something similar on this wiki page:
http://wiki.lyx.org/Devel/NotesOnPatchProcess Hope that helps, and hope that you join us :-) Best regards /Christian
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;)
-- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr