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

Fix VSCode(s) Find/Replace options and Word Wrap shortcuts #749

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
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
12 changes: 11 additions & 1 deletion linux/kinto.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,17 @@

# Keybindings for VS Code
define_keymap(re.compile(codeStr, re.IGNORECASE),{
K("Super-Space"): K("LC-Space"), # Basic code completion
K("Super-Space"): K("LC-Space"), # Basic code completion

# Find dialog options
C("Alt-RC-C"): C("Alt-C"), # Find: toggle "Match Case"
C("Alt-RC-W"): C("Alt-W"), # Find: toggle "Match Whole Word"
C("Alt-RC-R"): C("Alt-R"), # Find: toggle "Use Regular Expression"
C("Alt-RC-L"): C("Alt-L"), # Find: toggle "Find in Selection"
C("Alt-RC-P"): C("Alt-P"), # Replace: toggle "Preserve Case"

C("Alt-RC-Z"): C("Alt-Z"), # View: toggle "Word Wrap"

# Wordwise remaining - for VS Code
# Alt-F19 hack fixes Alt menu activation
K("Alt-Left"): [K("Alt-F19"),K("C-Left")], # Left of Word
Expand Down