Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring me updates #614

Merged
merged 19 commits into from
Jul 2, 2019
Merged
Binary file modified CasterQuickReference.pdf
Binary file not shown.
15 changes: 7 additions & 8 deletions castervoice/apps/file_dialogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class FileDialogueRule(MergeRule):
"organize": R(Key("c-l, tab:2")),
"(left | navigation) pane": R(Key("c-l, tab:3")),
"(center|file|files|folder) (list | pane)": R(Key("c-l, tab:4")),
"sort [headings]": R(Key("c-l, tab:5")),
"sort [headings]": R(Key("c-l, tab:5")),
"[file] name": R(Key("a-n")),
"file type": R(Key("c-l, tab:7")),

Expand All @@ -24,10 +24,9 @@ class FileDialogueRule(MergeRule):
}


dialogue_names = [
"open",
"save",
"select",
]
context = AppContext(title=dialogue_names)
control.non_ccr_app_rule(FileDialogueRule(), context=context)
dialogue_context = AppContext(title=[
"open",
"save",
"select",
])
control.non_ccr_app_rule(FileDialogueRule(), context=dialogue_context)
11 changes: 7 additions & 4 deletions castervoice/apps/gitbash.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,13 @@ class GitBashRule(MergeRule):
defaults = {"n": 0}


terminal_context = AppContext(executable="\\sh.exe") | \
AppContext(executable="\\bash.exe") | \
AppContext(executable="\\cmd.exe") | \
AppContext(executable="\\mintty.exe")
terminal_context = AppContext(executable=[
"\\sh.exe",
"\\bash.exe",
"\\cmd.exe",
"\\mintty.exe",
"\\powershell.exe"
])

jetbrains_context = AppContext(executable="idea", title="IntelliJ") \
| AppContext(executable="idea64", title="IntelliJ") \
Expand Down
29 changes: 0 additions & 29 deletions castervoice/bin/share/bringme.toml.defaults

This file was deleted.

31 changes: 23 additions & 8 deletions castervoice/doc/CasterQuickReference.tex
Original file line number Diff line number Diff line change
Expand Up @@ -417,31 +417,35 @@ \section*{Caster Quick Reference} % Title

%----------------------------------------------------------------------------------------

\end{minipage}
}

\put(200, 200){
\begin{minipage}[t]{85mm}

\sectiontitle{Bring me}

\command{program/website/folder/file to bring me as <key>}{create a new bring me binding}
\command{program/website/folder/file to bring me as <key>}{manually create bring me binding}
\command{to bring me as <key>}{automatically create bring me binding}
\command{bring me <key>}{open bring me binding}
\command{bring me <key> in explorer/terminal}{open bring me binding in a new window}
\command{remove <key> from bring me}{}
\command{restore bring me defaults}{}

%----------------------------------------------------------------------------------------

\end{minipage}
}

\put(200, 200){
\begin{minipage}[t]{85mm}

\sectiontitle{Dragon}

\command{number/spell/dictation/normal/command mode}{switch dragon modes}
\command{reboot dragon}{Restarts DNS}

%----------------------------------------------------------------------------------------

\sectiontitle{Update and Caster Management}

\command{clear caster log}{Clears Log Window}
\command{update caster}{Updates Caster}
\command{update dragonfly}{Updates Dragonfly}
\command{reboot dragon}{Restarts Caster}
\command{reboot windows speech recognition}{Restarts Caster}

\end{minipage}
Expand All @@ -467,6 +471,17 @@ \section*{Caster Quick Reference} % Title
\end{minipage}
}

\put(105,200){ % Divide the page
\begin{minipage}[t]{85mm} % Create a box to house text
\examplecommand{window ross}{Snap the current window to the right hand side of the screen}
\examplecommand{new work}{Create a new workspace}
\examplecommand{go work three}{Switch to the third workspace}
\examplecommand{move work one}{Move the current window to the first workspace}

\examplecommand{bring me my pictures in terminal}{Open a terminal window and cd to my pictures}
\end{minipage}
}

\end{picture} % End the container for the entire page

\end{document}
Loading