aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-23 17:13:59 +0100
committerAleksey Kladov <[email protected]>2018-08-23 17:13:59 +0100
commitf3e1e6df4202a20fa75543f6847782be515dae06 (patch)
treea3e3f6814a84dc572c76d2aff75c277e8ef7d112 /code
parenta077533513de5018e227c740a470e18652b63172 (diff)
Fix keybindings
Diffstat (limited to 'code')
-rw-r--r--code/package.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/code/package.json b/code/package.json
index 042821b1c..35367edb6 100644
--- a/code/package.json
+++ b/code/package.json
@@ -39,17 +39,25 @@
39 }, 39 },
40 { 40 {
41 "command": "libsyntax-rust.matchingBrace", 41 "command": "libsyntax-rust.matchingBrace",
42 "key": "ctrl+shift+m",
43 "title": "Rust Matching Brace" 42 "title": "Rust Matching Brace"
44 }, 43 },
45 { 44 {
46 "command": "libsyntax-rust.parentModule", 45 "command": "libsyntax-rust.parentModule",
47 "key": "ctrl+u",
48 "title": "Rust Parent Module" 46 "title": "Rust Parent Module"
49 } 47 }
50 ], 48 ],
51 "keybindings": [ 49 "keybindings": [
52 { 50 {
51 "command": "libsyntax-rust.parentModule",
52 "key": "ctrl+u",
53 "when": "editorTextFocus && editorLangId == rust"
54 },
55 {
56 "command": "libsyntax-rust.matchingBrace",
57 "key": "ctrl+shift+m",
58 "when": "editorTextFocus && editorLangId == rust"
59 },
60 {
53 "command": "libsyntax-rust.extendSelection", 61 "command": "libsyntax-rust.extendSelection",
54 "key": "ctrl+w", 62 "key": "ctrl+w",
55 "when": "editorTextFocus && editorLangId == rust" 63 "when": "editorTextFocus && editorLangId == rust"