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

tweak a couple commands in VS code #477

Merged
merged 7 commits into from
Jun 26, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions castervoice/apps/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ class VSCodeNonCcrRule(MergeRule):
"key mappings":
R(Key("c-k, c-s:2"), rdescript="VS Code: Key Mappings"),
"settings":
R(Key("a-f, p, s"), rdescript="VS Code: User/workspace Settings"),
R(Key("a-f, p, s, enter"), rdescript="VS Code: User/workspace Settings"),
"snippets":
R(Key("a-f, p, s:2"), rdescript="VS Code: User Snippets"),
R(Key("a-f, p, s:2, enter"), rdescript="VS Code: User Snippets"),
"extensions":
R(Key("cs-x"), rdescript="VS Code: Extensions"),
"search details":
Expand All @@ -208,8 +208,12 @@ class VSCodeNonCcrRule(MergeRule):
# File Management
"[open] command palette":
R(Key("cs-p"), rdescript="VS Code: Command Palette"),
"(open [file] | go to [tab]) [<text>]":
R(Key("c-p") + Text("%(text)s"), rdescript="VS Code: Go to File"),
"(open file | go to [tab]) [<text>]":
R(Key("c-p") + Text("%(text)s"), rdescript="VS Code: Go to File without using dialogbox"),
"open dialogue":
R(Key("c-o"), rdescript="VS Code: open file dialogbox")
"open folder":
R(Key("c-k, c-o"), rdescript="VS Code: Open folder"),
"Save and close":
R(Key("c-s/10, c-w"), rdescript="VS Code: Save And Close File"),
"new file":
Expand Down Expand Up @@ -300,7 +304,7 @@ class VSCodeNonCcrRule(MergeRule):
"shift group left":
R(Key("c-k, left"),
rdescript="Shift Current Group of Tabs to the Left E.g. Swap with Pane to the Left"),
"shift group left":
"shift group right":
R(Key("c-k, right"),
LexiconCode marked this conversation as resolved.
Show resolved Hide resolved
rdescript="Shift Current Group of Tabs to the Right E.g. Swap with Pane to the Right"
),
Expand Down Expand Up @@ -347,7 +351,7 @@ class VSCodeNonCcrRule(MergeRule):
R(Key("s-f5"), rdescript="VS Code: Debug Stop"),
"continue":
R(Key("f5"), rdescript="VS Code: Start/Continue"),
"show hover":
"(show hover|mouse hover|hover mouse)":
R(Key("c-k, c-i"),
rdescript="Show the little box as if you are hovering your mouse over the place where the cursor (As opposed to the mouse pointer) currently is"
),
Expand Down