diff --git a/_custom_globals.py b/_custom_globals.py index 23082cc..1752cd8 100644 --- a/_custom_globals.py +++ b/_custom_globals.py @@ -20,6 +20,7 @@ class UsefulStuff(MappingRule): "east": Key("end"), "west": Key("home"), "format": Key("ctrl") + Key("alt") + Key("b"), + "save": Key("ctrl") + Key("s") } globalStuff = Grammar("useful custom global commands") # Create a grammar to contain the command rule. diff --git a/_javascript_grammar.py b/_javascript_grammar.py index 1c5da39..e7e26b1 100644 --- a/_javascript_grammar.py +++ b/_javascript_grammar.py @@ -83,11 +83,11 @@ class JavaScriptMiscellaneousStuff(MappingRule): class JavaScriptComparisonOperators(MappingRule): mapping = { - "equal to": Text("=="), - "exactly equal to": Text("==="), + "equal to|is it": Text("=="), + "exactly equal to|for sure": Text("==="), "(not equal to|bang it)": Text("!="), - "greater than": Text(">"), - "less than": Text("<"), + "greater than|pack man left": Text(">"), + "less than|pack man right": Text("<"), "greater than or equal to": Text(">="), "less than or equal to": Text("<="), "(lake|open curly)": Text("{"), diff --git a/_julia_grammar.py b/_julia_grammar.py index fc05f81..4cf0be8 100644 --- a/_julia_grammar.py +++ b/_julia_grammar.py @@ -1,4 +1,4 @@ -# Author:Brandon Lovrien +# Author:Jeremy Hayes # This script is to be used for programming in the Julia programming language from dragonfly import (Grammar, CompoundRule, Dictation, Text, Key, AppContext, MappingRule)