Added sommand to save file you are working on 'save'
parent
2d9fc8c7a5
commit
3f13cfa421
|
@ -20,6 +20,7 @@ class UsefulStuff(MappingRule):
|
||||||
"east": Key("end"),
|
"east": Key("end"),
|
||||||
"west": Key("home"),
|
"west": Key("home"),
|
||||||
"format": Key("ctrl") + Key("alt") + Key("b"),
|
"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.
|
globalStuff = Grammar("useful custom global commands") # Create a grammar to contain the command rule.
|
||||||
|
|
|
@ -83,11 +83,11 @@ class JavaScriptMiscellaneousStuff(MappingRule):
|
||||||
class JavaScriptComparisonOperators(MappingRule):
|
class JavaScriptComparisonOperators(MappingRule):
|
||||||
|
|
||||||
mapping = {
|
mapping = {
|
||||||
"equal to": Text("=="),
|
"equal to|is it": Text("=="),
|
||||||
"exactly equal to": Text("==="),
|
"exactly equal to|for sure": Text("==="),
|
||||||
"(not equal to|bang it)": Text("!="),
|
"(not equal to|bang it)": Text("!="),
|
||||||
"greater than": Text(">"),
|
"greater than|pack man left": Text(">"),
|
||||||
"less than": Text("<"),
|
"less than|pack man right": Text("<"),
|
||||||
"greater than or equal to": Text(">="),
|
"greater than or equal to": Text(">="),
|
||||||
"less than or equal to": Text("<="),
|
"less than or equal to": Text("<="),
|
||||||
"(lake|open curly)": Text("{"),
|
"(lake|open curly)": Text("{"),
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Author:Brandon Lovrien
|
# Author:Jeremy Hayes
|
||||||
# This script is to be used for programming in the Julia programming language
|
# This script is to be used for programming in the Julia programming language
|
||||||
|
|
||||||
from dragonfly import (Grammar, CompoundRule, Dictation, Text, Key, AppContext, MappingRule)
|
from dragonfly import (Grammar, CompoundRule, Dictation, Text, Key, AppContext, MappingRule)
|
||||||
|
|
Loading…
Reference in New Issue