Skip to content

Instantly share code, notes, and snippets.

View regymm's full-sized avatar
💎
Xtal hart

regymm regymm

💎
Xtal hart
View GitHub Profile
@regymm
regymm / KeyEventTranslations.tr
Created February 29, 2020 10:52
Minimal Emacs Key Bindings for Mathematica 11.3.0.0
@@resource KeyEventTranslations
(* Modifiers can be "Shift", "Control", "Command", "Option"
For Macintosh: "Command" = Command Key, "Option" = Option Key
For X11: "Command" = Mod1, "Option" = Mod2
For Windows: "Command" = Alt, "Option" = Alt
*)
EventTranslations[{
(* Evaluation *)
@regymm
regymm / MenuSetup.tr
Created February 29, 2020 10:52
Minimal Emacs Key Bindings for Mathematica 11.3.0.0; removed menu conflicts
Menu["Menu for the X Front End",
{
Menu["File",
{
Menu["&New",
{
MenuItem["&Notebook (.nb)", "New"(* , MenuKey["n", Modifiers->{"Control"}] *)],
MenuItem["St&yled Notebook...", FrontEndExecute[{FrontEnd`NotebookOpen[FrontEnd`FindFileOnPath["StylesheetChooser.nb", "PalettePath"]]}]],
MenuItem["Pre&senter Notebook...", FrontEndExecute[{FrontEnd`NotebookOpen[FrontEnd`FindFileOnPath["PresenterNotebookChooser.nb", "PalettePath"]]}]],
Delimiter,