Added sommand to save file you are working on 'save'

master
Jeremy 2021-02-25 10:34:43 -06:00
parent 2d9fc8c7a5
commit 3f13cfa421
3 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

@ -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("{"),

View File

@ -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)