Added sommand to save file you are working on 'save'
parent
2d9fc8c7a5
commit
3f13cfa421
|
@ -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.
|
||||
|
|
|
@ -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("{"),
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue