Skip to content

Commit 7399fd2

Browse files
张东张东
authored andcommitted
fix: merge
2 parents b77b06e + b25916d commit 7399fd2

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.vitepress/config.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ export default defineConfig({
248248
"/vscode/": [
249249
{
250250
text: "vscode",
251-
items: [{ text: "插件", link: "/vscode/extension" }],
251+
items: [
252+
{ text: "插件", link: "/vscode/extension" },
253+
{ text: "快捷键", link: "/vscode/keybinding" },
254+
],
252255
},
253256
],
254257
"/node/": [

vscode/keybinding.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: doc
3+
outline: deep
4+
---
5+
:::tip :rocket:
6+
注意快捷键是否有冲突
7+
:::
8+
## general
9+
10+
<details>
11+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">打开命令面板</summary>
12+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+P</code> 或 <code>F1</code></p>
13+
</details>
14+
<details>
15+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">查找文件</summary>
16+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+P</code></p>
17+
</details>
18+
<details>
19+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">打开新窗口</summary>
20+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+N</code></p>
21+
</details>
22+
<details>
23+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">关闭窗口</summary>
24+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+W</code></p>
25+
</details>
26+
27+
## Basic editing
28+
<details>
29+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">一行向上/下移动</summary>
30+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Alt+ ↑ / ↓ </code></p>
31+
</details>
32+
<details>
33+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">向上/下复制一行</summary>
34+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Shift+Alt + ↓ / ↑</code></p>
35+
</details>
36+
<details>
37+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">删除</summary>
38+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+K</code></p>
39+
</details>
40+
<details>
41+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">在下方插入一行</summary>
42+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Enter</code></p>
43+
</details>
44+
<details>
45+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">在上方插入一行</summary>
46+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+Enter</code></p>
47+
</details>
48+
<details>
49+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">调整缩近</summary>
50+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+]/[</code></p>
51+
</details>
52+
<details>
53+
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">跳转到匹配的括号</summary>
54+
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+]/[</code></p>
55+
</details>

0 commit comments

Comments
 (0)